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 &nbsp; entity. same happens if plugin tries insert same snippet (i.e. in wysiwyg mode) once ok button pressed.

so questions :

  1. is possible instruct ckeditor not obfuscate php block ?
  2. does has hint or way work around behavior ?

thanks in advance !

use config.protectedsource setting, page list how can use php


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -