Loading src/edit.cpp +10 −0 Changes for src/edit.cpp: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2197,6 +2197,11 @@ void blogi::webedit::WebEditor::JsonApi(const int tid, json_object *request, jso std::string renderedHtml; if (DocRoot) { libhtmlpp::HtmlElement wrapper("div"); if (!GlobalCss.empty()) { libhtmlpp::HtmlElement globalStyle("style"); globalStyle.appendChild(libhtmlpp::TextElement(GlobalCss.c_str())); wrapper.appendChild(globalStyle); } const EditPlugin *el = DocRoot; while (el) { el->Render(wrapper); Loading Loading @@ -2437,6 +2442,11 @@ void blogi::webedit::WebEditor::JsonApi(const int tid, json_object *request, jso std::string renderedHtml; if (DocRoot) { libhtmlpp::HtmlElement wrapper("div"); if (!GlobalCss.empty()) { libhtmlpp::HtmlElement globalStyle("style"); globalStyle.appendChild(libhtmlpp::TextElement(GlobalCss.c_str())); wrapper.appendChild(globalStyle); } const EditPlugin *el = DocRoot; while (el) { el->Render(wrapper); Loading Loading
src/edit.cpp +10 −0 Changes for src/edit.cpp: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2197,6 +2197,11 @@ void blogi::webedit::WebEditor::JsonApi(const int tid, json_object *request, jso std::string renderedHtml; if (DocRoot) { libhtmlpp::HtmlElement wrapper("div"); if (!GlobalCss.empty()) { libhtmlpp::HtmlElement globalStyle("style"); globalStyle.appendChild(libhtmlpp::TextElement(GlobalCss.c_str())); wrapper.appendChild(globalStyle); } const EditPlugin *el = DocRoot; while (el) { el->Render(wrapper); Loading Loading @@ -2437,6 +2442,11 @@ void blogi::webedit::WebEditor::JsonApi(const int tid, json_object *request, jso std::string renderedHtml; if (DocRoot) { libhtmlpp::HtmlElement wrapper("div"); if (!GlobalCss.empty()) { libhtmlpp::HtmlElement globalStyle("style"); globalStyle.appendChild(libhtmlpp::TextElement(GlobalCss.c_str())); wrapper.appendChild(globalStyle); } const EditPlugin *el = DocRoot; while (el) { el->Render(wrapper); Loading