foralien
Junior Member
Posts: 3
Joined: Sep 2011
|
Way to disable WYSIWYG editor
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
(This post was last modified: 2011-09-05 15:51:12 by keystoffen12.)
|
|
|
|
Joshas
Member
Posts: 75
Joined: Mar 2010
|
Way to disable WYSIWYG editor
Go to "Settings" in administration and remove check from "Enable the HTML editor" option.
|
|
|
|
foralien
Junior Member
Posts: 3
Joined: Sep 2011
|
Way to disable WYSIWYG editor
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.
|
|
|
|
Connie
Super Moderator
Posts: 2,671
Joined: Feb 2011
|
Way to disable WYSIWYG editor
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
|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
|
|
|
|
Connie
Super Moderator
Posts: 2,671
Joined: Feb 2011
|
Way to disable WYSIWYG editor
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
|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
|
|
|
|
foralien
Junior Member
Posts: 3
Joined: Sep 2011
|
Way to disable WYSIWYG editor
to Connie
Oh! Thanks a lot for pointing me to that, that's exactly I'm looking for...
Thank you again for the advice
|
|
|
|