ho trovato il cane...
la configurazione contestuale
va inserita dopo la texarea interessata
trovi l'esempio in api_dialog.html
codice:<textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea> <script type="text/javascript"> // Replace the <textarea id="editor1"> with an CKEditor instance. var editor = CKEDITOR.replace( 'editor1', { // Defines a simpler toolbar to be used in this sample. // Note that we have added out "MyButton" button here. toolbar : [ [ 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike','-','Link', '-', 'MyButton' ] ] }); </script>



Rispondi quotando