I want to load templates to ckeditor from a data base.
According to some options choosed by the user the templates to be loaded will be searched in the data base. The problem is that I didn't find any way to load the templates without an external file (this is the only way I found: http://docs.cksource.com/CKEditor_3.x/D ... /Templates and it doesn't work because I don't have physical files).
I tried to set the templates readed from DB in an array, pass this array to the addTemplates function...but it didn't work.
Any idea how can I do it?
Dynamic templates from Data Base