Forum for discussing general topics related to Couch.
5 posts Page 1 of 1
in ckeditor i tried to add button with style from source then submit, in page button code and style appeared in as a normal text checking the ckeditor again and it replace my code within <p> tag so ? any help or someway to change it with another one support that ?
I came I saw I Conquered :D
Not sure if I understood the problem completely but I think you are complaining about not being able to input 'raw code' through CKEditor.

If that is indeed the case, that would be because Couch, as a security measure, allows only a very strict subset of HTML as input. It 'sanitizes' the rest of the tags (and so they appear as printable characters).

If you really must input raw code through the richtext editor, one way would be to use 'shortcodes' (e.g. see viewtopic.php?f=8&t=7950).

The preferred method would be to use type 'textarea' editable region for this purpose (instead of richtext) and then set its 'no_xss_check' parameter to '1'. Please search the forum for that term an you'll find several posts discussing this.

Hope it helps.
thanks KK for reply, shortcode that what i need , and works perfect thanks :)
but still there's someway to change the ckeditor with another wysiwyg editors ? or change it from standard to full config. ?
to support colors as example
I came I saw I Conquered :D
change it from standard to full config. ? to support colors as example

You can do that through the 'toolbar' parameter - please see http://docs.couchcms.com/tags-reference ... ml#toolbar
KK wrote:
change it from standard to full config. ? to support colors as example

You can do that through the 'toolbar' parameter - please see http://docs.couchcms.com/tags-reference ... ml#toolbar

thanks you are the best 8-)
I came I saw I Conquered :D
5 posts Page 1 of 1