Hey,
I've recently needed a Wysiwyg box so i've decided to take this one (obviously) then i followed the different tutorial for adding pulgin and i came across an error i don't know if this happened to anyone before, if so and there is already the answer then sorry for repost. (i haven't found it).
So i've followed the tutorial to create abbreviations. I've simply write the exact same code.
then i used it on my page which contain only CKEditor. it work like a charm.
But when i use the view source code i get this :
<p><abbr id="btwb" title="By The Way ">Btw</abbr></p>
which is normal then i switch back to the normal display and instead of keeping the previous code i get this one :
<p>Btw</p>
Does anyone know why?
P.S : Sorry for my English it's not my mother language. hope it's clear enough.
any idea anyone ?
any idea anyone ?
the tutorials is a bit
the tutorials is a bit outdated the proper way to add the command should be
editor.addCommand( 'abbr', new CKEDITOR.dialogCommand( 'abbrDialog',{ allowedContent: 'abbr[title]'
} ) );
and not
editor.addCommand( 'abbr', new CKEDITOR.dialogCommand( 'abbrDialog' ) );
i got the answer here : http://stackoverflow.com/questions/17188408/displaying-the-code-on-ckeditor-remove-the-abbr-tag
The tutorial that you mention
The tutorial that you mention contains a note about Advanced Content Filter in version 4.1 and above. It states that you need to either turn ACF off or check the plugin integration tutorial where everything is explained and the new command format is given: http://docs.ckeditor.com/#!/guide/plugin_sdk_integration_with_acf
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!