Hi,
I'm creating a web site for the clients to generate reports with dynamic fields via the CKEditor and it removes the dynamic fields automatically.
The syntax of the dynamic field is something like [%fieldname%], I search the web found the following solution, however it still remove the fields and I'm not sure if I have done the right thing.
CKEDITOR.editorConfig = function( config ) {
config.protectedSource.push(/\[%[^%]+%\]/g);
};
Ok it's my mistake... sorry about that.
The problem is solved and it's not the problem of the CKEditor... I have fixed it thanks.