Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Way to disable WYSIWYG editor
#7
(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


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Way to disable WYSIWYG editor - by foralien - 2011-09-05, 15:49:22
Way to disable WYSIWYG editor - by Joshas - 2011-09-05, 15:53:04
Way to disable WYSIWYG editor - by foralien - 2011-09-05, 16:01:57
Way to disable WYSIWYG editor - by Connie - 2011-09-05, 18:15:31
Way to disable WYSIWYG editor - by Connie - 2011-09-05, 18:28:38
RE: Way to disable WYSIWYG editor - by tuxy - 2014-12-03, 07:24:14
RE: Way to disable WYSIWYG editor - by hameau - 2014-12-03, 17:55:14
RE: Way to disable WYSIWYG editor - by tuxy - 2014-12-03, 22:36:55
Way to disable WYSIWYG editor - by foralien - 2011-09-05, 20:02:48



Users browsing this thread: 1 Guest(s)