Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Way to disable WYSIWYG editor
Author Message
foralien Offline
Junior Member

Posts: 3
Joined: Sep 2011
2011-09-05 15:49:22
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.)
Find all posts by this user Quote this message in a reply
Joshas Offline
Member

Posts: 75
Joined: Mar 2010
2011-09-05 15:53:04
Way to disable WYSIWYG editor
Go to "Settings" in administration and remove check from "Enable the HTML editor" option.
Find all posts by this user Quote this message in a reply
foralien Offline
Junior Member

Posts: 3
Joined: Sep 2011
2011-09-05 16:01:57
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.
Find all posts by this user Quote this message in a reply
Connie Offline
Super Moderator

Posts: 2,671
Joined: Feb 2011
2011-09-05 18:15:31
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
Find all posts by this user Quote this message in a reply
Connie Offline
Super Moderator

Posts: 2,671
Joined: Feb 2011
2011-09-05 18:28:38
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
Find all posts by this user Quote this message in a reply
foralien Offline
Junior Member

Posts: 3
Joined: Sep 2011
2011-09-05 20:02:48
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
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)

Generate Leads from Documents vCard Hosting