javascript - CKEditor: Editing templates (e.g. PHP, JSP, ASP, ... i.e. non-standard HTML) -
hi once again ! i'm developing this plugin edit php pages using ckeditor (please watch demo videos further details ;o). works fine if try insert php code inside <pre>
tag render code inside page.
the fact need insert php code directly inside code of target web page (well it's php page indeed ...) because idea insert php snippets evaluated , expanded later in server-side.
in this demo video can see once insert php code directly inside <div>
tag (i.e. in source mode) , switch source mode again whole php block sanitized replaced
entity. same happens if plugin tries insert same snippet (i.e. in wysiwyg mode) once ok button pressed.
so questions :
- is possible instruct ckeditor not obfuscate php block ?
- does has hint or way work around behavior ?
thanks in advance !
use config.protectedsource setting, page list how can use php
Comments
Post a Comment