Dynamically load dropdown placeholder ckeditor

Add a variable in config.js and populated with values from an ajax call,
add to top of page.

The ajax call returns the values as JSON. (echo json_encode($my_array))

Then I assigned the variable to the placeholders inside the code of the ckedit config part

Hope that helps ๐Ÿ™‚
Thanks to Sigal Goplaiah

Posted in Tricks.

Leave a Reply

Your email address will not be published. Required fields are marked *