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?
Wed, 08/01/2012 - 09:31#1
Dynamic templates from Data Base
this is my problem too
not Any idea for this problem ... ?
Hi I found this...
But I don't think that is valid anymore. I created a js file dynamically on the server side but that only seems to work when you're not running over HTTPS.