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)
The issue is on this part of code:
Code:
var sel = this.editdoc.selection.createRange();
sel.pasteHTML(text);
(about function this.insert_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?