The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Advanced Editor (WYSIWYG) in Chrome and Opera
I'm trying to find a solution to make Advanced Editor (WYSIWYG) to be working in Chrome and Opera.
Anyone could help? Could anyone describe what's the exact issue and how "easy" is that to be fixed? |
#2
|
|||
|
|||
try this and work for me 100%
In template: editor_toolbar_on Find: PHP Code:
PHP Code:
In template: showthread_quickreply Find: PHP Code:
PHP Code:
|
Благодарность от: | ||
Scandal |
#3
|
||||
|
||||
Hello Nas.er
Yes, it seems it is enabling the WYSIWYG editor for Chrome. Basically, if I just for test do this: 1. Open file /includes/functions_editor.php 2. Make the function is_wysiwyg_compatible($userchoice = -1, $editormode = 'fe') to return 2; ... will enable too the editor, but still there are issues like: 1. I cannot insert smilies. I see this on the browser console: Code:
vbulletin_textedit.js?v=384:3865 Uncaught TypeError: Cannot read property 'createRange' of undefined at vB_Text_Editor.insert_text (vbulletin_textedit.js?v=384:3865) at vB_Text_Editor.insert_smilie (vbulletin_textedit.js?v=384:3775) at HTMLImageElement.vB_Text_Editor_Events.smilie_onclick (vbulletin_textedit.js?v=384:6044) Code:
var sel = this.editdoc.selection.createRange(); sel.pasteHTML(text); 2. Also I cannot use the insert link button. When I click it to enter a link, I see a "true" phrase linkable on the editor. Not the expected browser popup to enter the link. Any idea? |
#4
|
|||
|
|||
thank you maybe i'm looking about 1 month now i find it solution.
|
#5
|
||||
|
||||
Yes, but just enabling the Advanced Editor with the pre-noticed issues (smilies insert, link insert) is it not make it good for the production site.
|
#6
|
|||
|
|||
i have no issues with that after enabling WYS editor!
|
#7
|
||||
|
||||
Very strange, I still have them. I have them in two diff vB3 boards.
|
#8
|
|||
|
|||
well. you right. after looking in my forum . but that not issue! its simpley just switch the wysiwyg button on and off when you need insert a link.
|
#9
|
|||
|
|||
I also looking for this code too. My forum v3.8.11 not working WYSIWYG with Chrome and MS Edge on windows 10 as well.
If any one have any code for WYSIWYG with Chrome and MS Edge that it is wonderful. Kind Regards, |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|