Separate the existing$source variable into a pair of $source (contains both meta-data and page content) and $contents (just the page content) variables.
This allows the HTML to be rendered from the $contents variable, but the editor edits the $source variable.
Separate the existing
$source
variable into a pair of$source
(contains both meta-data and page content) and$contents
(just the page content) variables.This allows the HTML to be rendered from the
$contents
variable, but the editor edits the$source
variable.