vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   chrome not supporting WYSIWYG Editor (https://vborg.vbsupport.ru/showthread.php?t=327403)

bestone96 07-27-2019 06:59 AM

chrome not supporting WYSIWYG Editor
 
hey

i am wondering if there was any solution for supporting WYSIWYG Editor on google chrome!!


thanks

blind-eddie 07-28-2019 10:41 PM

What issues are you having? No issues with my WYSIWYG Editor using chrome.

lange 07-29-2019 02:48 PM

No issues, me too!

In Omnibus 07-29-2019 04:08 PM

The solution is to disable your browser extensions. One of them is causing the problem.

final kaoss 07-29-2019 04:49 PM

Quote:

Originally Posted by In Omnibus (Post 2600022)
The solution is to disable your browser extensions. One of them is causing the problem.

No, that is not a reasonable "solution". There was a similar issue with the editor after enabling SSL on VB4. We've found a fix for it in vbulletin 4 though.
https://forum.vbulletin.com/forum/vb...forum-to-https

In Omnibus 07-29-2019 04:56 PM

Quote:

Originally Posted by final kaoss (Post 2600023)
No, that is not a reasonable "solution". There was a similar issue with the editor after enabling SSL on VB4. We've found a fix for it in vbulletin 4 though.
https://forum.vbulletin.com/forum/vb...forum-to-https

Where did the OP say anything about this issue being caused by SSL?

In order to determine the solution one has to first determine the cause of the problem, n'est-ce pas ?

Others have indicated they are unable to reproduce the problem, which, one would think would have been reproduced and reproducible if the cause were SSL.

z3r0 07-29-2019 05:01 PM

VB3.8.x doesn't support WYSIWYG in Chrome out of the box, what are you guys doing to enable it?

lange 07-30-2019 01:40 PM

Quote:

Originally Posted by z3r0 (Post 2600027)
VB3.8.x doesn't support WYSIWYG in Chrome out of the box, what are you guys doing to enable it?

I just double checked. Nothing special, it work without issues on my cPanel/https with a commodo certificate.

z3r0 07-30-2019 02:16 PM

Quote:

Originally Posted by lange (Post 2600047)
I just double checked. Nothing special, it work without issues on my cPanel/https with a commodo certificate.

The things you describe have nothing to do with the editor, which would have needed an addon or core file edits as vb3.8.x does not support WYSIWYG in Chrome, I think you may be confusing that the advanced editor shows but it does not have the WYSIWYG functionality that you would get in IE or FF.

lange 07-30-2019 05:00 PM

Sorry, English is not my first language, I probably misunderstood your point but one thing is sure, I have no problem with the normal use of Chrome.

z3r0 07-31-2019 07:19 AM

I've just had a quick look at the code and it looks like the bit that detects which browsers can use WYSIWYG is in includes/functions_editor.php starting line 165 (vb3.8.11 files)

Code:

if ($choice == 2) // attempting to use WYSIWYG, check that we really can
        {
                if (!is_browser('opera') OR is_browser('opera', '9.0'))
                {
                        // Check Mozilla Browsers
                        if (is_browser('firebird', '0.6.1') OR is_browser('camino', '0.9') OR (is_browser('mozilla', '20030312') AND !is_browser('firebird') AND !is_browser('camino')))
                        {
                                return 2;
                        }
                        else if (is_browser('ie', '5.5') AND !is_browser('mac'))
                        {
                                return 2;
                        }
                        else if (false AND is_browser('opera', '9.0'))
                        {
                                return 2;
                        }
                        else
                        {
                                return 1;
                        }
                }
                else
                {
                        // browser is incompatible - return standard toolbar
                        return 1;
                }
        }
        else
        {
                // return standard or no toolbar
                return $choice;
        }

On line 180 I tested changing "return 1;" to "return 2;" this allowed Chrome (and I would assume all other browsers) to use WYSIWYG mode, however, I didn't check anything other than basic functionality so couldn't say how compatible Chrome is in that mode.

lange 07-31-2019 11:32 AM

Thank you very much ! :up:

I do not think much about vbulletin right now.

I will test your code later and give you a feedback.

webmastersun 12-19-2019 11:09 AM

Quote:

Originally Posted by bestone96 (Post 2599972)
hey

i am wondering if there was any solution for supporting WYSIWYG Editor on google chrome!!


thanks

Check Chrome extensions that you installed for your Chrome
This can affect and made your WYSIWYG Editor not work.


All times are GMT. The time now is 04:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01228 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete