Add language tags definition, caret and bubbles in editor.
[redakcja.git] / src / wlxml / templates / wlxml / editor.css
diff --git a/src/wlxml/templates/wlxml/editor.css b/src/wlxml/templates/wlxml/editor.css
new file mode 100644 (file)
index 0000000..58152ce
--- /dev/null
@@ -0,0 +1,10 @@
+{% for tag in object_list %}
+.htmlview [x-node="{{ tag.name }}"] {
+    {{ tag.editor_css|safe }}
+}
+{% if tag.editor_css_after %}
+.htmlview [x-node="{{ tag.name }}"]::after {
+    {{ tag.editor_css_after|safe }}
+}
+{% endif %}
+{% endfor %}