GetSimple Support Forum

Full Version: Way to disable WYSIWYG editor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all!

Would anybody please advise me if there is any simple (or soficticated) way to disable WYSIWYG editor mode in admin at all. Or at least make HTML-mode primary by default. I never use visual editors and it's quite annoying to switch every time when one saves changes in page content.

Thanks a lot in advance
Anna
Go to "Settings" in administration and remove check from "Enable the HTML editor" option.
Thanks a lot for your so quick reply.

I've already done it of course. Unfortunately, this enable HTML editor but not disable WYSIWYG editor. The last is still active and when you save page it automatically switches into WYSIWYG mode even if you previously edited it in HTML mode.
What I'd like to achive is to avoid this behaviour and make HTML mode my only (or at least my default) mode.
I do not understand your problem completely.

There is only one RichText-Editor in GetSimple.
It is CKEDITOR
in the user-profile this editor is named "HTML-Editor"
when you uncheck this option, you will only get a blank textarea to edit the content and you can enter every HTML-code

Now the CKEDITOR:
This editor has 2 modi: WYSIWYG and HTML
do you want CKEDITOR to only offer HTML-Mode?
I do not know if there are options for this.
This would be a question for the Forum at ckeditor.net
I found a solution for you:

add

Code:
startupMode:'source'

to the editor-options in gsconfig.php

for example, my definition is like this:

Code:
define('GSEDITOROPTIONS', "startupMode:'source',entities : false,forceSimpleAmpersand:true,skin: 'v2'
");

by this, Source-Mode is default and it won't switch back to WYSIWYG-mode after saving
to Connie

Oh! Thanks a lot for pointing me to that, that's exactly I'm looking for...
Thank you again for the advice
(2011-09-05, 18:28:38)Connie Wrote: [ -> ]I found a solution for you:

add

Code:
startupMode:'source'

to the editor-options in gsconfig.php

for example, my definition is like this:

Code:
define('GSEDITOROPTIONS', "startupMode:'source',entities : false,forceSimpleAmpersand:true,skin: 'v2'
");

by this, Source-Mode is default and it won't switch back to WYSIWYG-mode after saving

Hello,
Every time when I switch to code and after this save the page then the editor switch to default.
Can I set the WYSIWYG editor in 'code'-editor by default? See attachment what I mean.
I try the above solution but don't work in GS 3.3
Can you help me solve this problem?

Christophe
(2014-12-03, 07:24:14)tuxy Wrote: [ -> ]I try the above solution but don't work in GS 3.3

It works for me:
Code:
## gsconfig.php

# WYSIWYG Editor Options
define('GSEDITOROPTIONS', "startupMode:'source'");

(Did you remove the # from the beginning of the define line ?)
(2014-12-03, 17:55:14)hameau Wrote: [ -> ]
(2014-12-03, 07:24:14)tuxy Wrote: [ -> ]I try the above solution but don't work in GS 3.3

It works for me:
Code:
## gsconfig.php

# WYSIWYG Editor Options
define('GSEDITOROPTIONS', "startupMode:'source'");

(Did you remove the # from the beginning of the define line ?)

Hi,
Thank you!

It works now Smile

Grtz,
Christophe