From cf4e2c81f948a1a9e54258d3ced978d1ad2ef234 Mon Sep 17 00:00:00 2001 From: patdenice Date: Tue, 12 Apr 2011 11:40:06 +0000 Subject: merge r10307 from trunk to branch 2.2 feature:2262 Replace editarea by Codemirror: http://codemirror.net git-svn-id: http://piwigo.org/svn/branches/2.2@10310 68402e56-0260-453c-a942-63ccdbb3a9ee --- .../codemirror/mode/xml/index.html | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 plugins/LocalFilesEditor/codemirror/mode/xml/index.html (limited to 'plugins/LocalFilesEditor/codemirror/mode/xml/index.html') diff --git a/plugins/LocalFilesEditor/codemirror/mode/xml/index.html b/plugins/LocalFilesEditor/codemirror/mode/xml/index.html new file mode 100644 index 000000000..5ad7c63fe --- /dev/null +++ b/plugins/LocalFilesEditor/codemirror/mode/xml/index.html @@ -0,0 +1,42 @@ + + + + CodeMirror 2: XML mode + + + + + + + + +

CodeMirror 2: XML mode

+
+ +

The XML mode supports two configuration parameters:

+
+
htmlMode (boolean)
+
This switches the mode to parse HTML instead of XML. This + means attributes do not have to be quoted, and some elements + (such as br) do not require a closing tag.
+
alignCDATA (boolean)
+
Setting this to true will force the opening tag of CDATA + blocks to not be indented.
+
+ +

MIME types defined: application/xml, text/html.

+ + -- cgit v1.2.3