hi there,
i've got a problem with the all new bbcode plugin shipped with the ckeditor. the following issue occurs with and without my modifications to the plugin, so this can be tested with the files inside the official release version(s). now more into detail:
it seems to me that every "bbcode tag" (e.g. [s] for a STRIKE command) that is not known gets lost when ckeditor reads the content inside a html textarea and output its results in an editor instance. with known tags it works as expected, so the process of reading the html content and creating the ckeditor instance is fine. i would like to change this behavior to have it similar to other editors that just output bbcode tags they can't interpret as plain text. and well i know that i can define new ones in the bbcode plugin, but the cms has some more complex bbcode tags that would take too much time to emulate them 1:1 in wysiwyg.
small note: the size tag is bugged within bbcode, i think it needs a fix within the next ckeditor release. sorry if this is already filed within the bugtracker of the project, i haven't searched in there, but i've found nothing regarding all this in the forum search.
thanks for any help and keep up the great work
i've got a problem with the all new bbcode plugin shipped with the ckeditor. the following issue occurs with and without my modifications to the plugin, so this can be tested with the files inside the official release version(s). now more into detail:
it seems to me that every "bbcode tag" (e.g. [s] for a STRIKE command) that is not known gets lost when ckeditor reads the content inside a html textarea and output its results in an editor instance. with known tags it works as expected, so the process of reading the html content and creating the ckeditor instance is fine. i would like to change this behavior to have it similar to other editors that just output bbcode tags they can't interpret as plain text. and well i know that i can define new ones in the bbcode plugin, but the cms has some more complex bbcode tags that would take too much time to emulate them 1:1 in wysiwyg.
small note: the size tag is bugged within bbcode, i think it needs a fix within the next ckeditor release. sorry if this is already filed within the bugtracker of the project, i haven't searched in there, but i've found nothing regarding all this in the forum search.
thanks for any help and keep up the great work

Re: bbcode plugin kills text content
#7860
Re: bbcode plugin kills text content
also if the form is submitted or i switch to source code view and back the text is in default size again. i hope this helps to find and solve the problem.
Re: bbcode plugin kills text content
It works for me, pls let me know if you got it reproduced on the default sample page or u have modified the font style configuration?
Re: bbcode plugin kills text content
the ckeditor initalisation and ckeditor configuration do not contain any font size related changes, so i wonder which different places allow for changing the font size. the plugin.js file is untouched.
Re: bbcode plugin kills text content
Have a look at the sample page source -- you will find something like:
So in short, CKEditor initialization code does contain the font size definition.
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!
Re: bbcode plugin kills text content
edit: even with that line its not working using "pt" instead of "%" for the font size. the size tag is not applied to the source code after changing this.
edit2: it seems to be a hardcoded limitation by the plugin to only support percentage. i hope this can be changed to be more flexible in the default ckeditor bbcode plugin, so that i don't always have to merge this in between ckeditor version changes. if not please tell me and i try to change it myself.
Re: bbcode plugin kills text content
sorry for the push, but i just want to know yes / no or even a "maybe" and i think my 2 edits in the post above were not read by so many.
and thanks for the bbcode parser patch, its working fine.
Re: bbcode plugin kills text content
Sorry, but this's now falsy, as mentioned in the release note we introduced just a reference implemented of one bbcode dialect, where font size has only a simple decimal presentation which maps to percentage value, making it tolerant of other units will bring ambiguous.
The recommended way of achieving this is to customize it by modifying the plugin codes, which should be quite easy, we're working on some tutorials on it, please stay tuned if you need guidance.