How do I...Add the "nowiki" style to the editor dropdown menu?

    Table of contents
    No headers

    Deki bypasses DekIScript processing for content in double braces (e.g. {{ }}) when using class "plain" on a surrounding span.  While adding the span and class can be done in HTML mode, it's much nicer to do so in WYSIWYG editor.  Unfortunately, Deki doesn't ship with this style by default.

    However, the new control panel in 8.08 makes its incredibly easy to add customized styles.  Simply, open the control panel, click on "Customize", then click on the "Editor" tab.  Now add the following bit of code.

    FCKConfig.CustomStyles.nowiki = { Element : 'span', Attributes : { 'class' : 'plain' } }

    Save and you're done!

    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by