Preliminary SVG-edit Support

WYSIWYG SVG editing.

Still no support for mixed
SVG/MathML content, yet.
This commit is contained in:
Jacques Distler 2010-02-05 21:36:35 -06:00
parent 954bcb52c2
commit c3ed5b461b
224 changed files with 32910 additions and 21 deletions

View file

@ -70,6 +70,7 @@ function cleanAuthorName() {
document.forms["editForm"].elements["content"].focus();
<%- if [:markdownMML, :markdownPNG, :markdown].include?(@web.markup) and !@page.categories.include?('S5-slideshow') -%>
setupSVGedit('<%= compute_public_path("editor/svg-editor.html", "svg-edit").split(/\?/)[0] %>');
addS5button('<%= CGI.escapeHTML(@page.name) %>');
<%- end -%>
//--><!]]>

View file

@ -32,6 +32,7 @@ function cleanAuthorName() {
}
document.forms["editForm"].elements["content"].focus();
<%- if [:markdownMML, :markdownPNG, :markdown].include?(@web.markup) -%>
setupSVGedit('<%= compute_public_path("editor/svg-editor.html", "svg-edit").split(/\?/)[0] %>');
addS5button('<%= CGI.escapeHTML(@page_name) %>');
<%- end -%>
</script>