How can I tell ckeditor whether to use the full or basic toolbar depending on what the class of the textatrea is?
I have already set up my full and basic toolbars in config.js - how can I set it to use the full toolbar is the class of the textare as 'm' and the basic toolbar if it is 's'?
I have already set up my full and basic toolbars in config.js - how can I set it to use the full toolbar is the class of the textare as 'm' and the basic toolbar if it is 's'?

Re: Apply toolbar full or basic depending on textarea class
Re: Apply toolbar full or basic depending on textarea class
CKEDITOR.editorConfig = function( config ) { config.toolbar_Full = [ ['Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript', '-', 'Format'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'], '/', ['Image','Table', 'HorizontalRule', 'SpecialChar'], ['Cut', 'Copy', 'Paste', 'PasteText', '-', 'SpellChecker'], //, 'Scayt' ['Undo', 'Redo'], ['Link','Unlink'], ['MediaEmbed'] ]; config.toolbar_Basic = [ ['Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'], '/', ['Table', 'HorizontalRule', 'SpecialChar'], ['Cut', 'Copy', 'Paste', 'PasteText', '-', 'SpellChecker'], //, 'Scayt' ['Undo', 'Redo'], ['Link','Unlink'] ]; };and
<script type="text/javascript" charset="utf-8"> $(function() { $('textarea.ckeditor').ckeditor(config); }); </script>In the head of the page. How can I make the editor show the basic toolbar if the textarea has a class of 's' and the full toolbar in all other cases?