From 615725ce166569475ae0cf05fd521fc45a8d23bd Mon Sep 17 00:00:00 2001
From: Peter Stadler
Date: Thu, 8 Feb 2024 14:18:12 +0100
Subject: [PATCH] add fallback template for HTML tags (#196)
* add fallback template for HTML tags
* add faq entry for tinymce limitations
---
filter/xsl/filter_put.xsl | 9 +++++++++
manual/faq.html | 9 +++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/filter/xsl/filter_put.xsl b/filter/xsl/filter_put.xsl
index ca46c4c9..60b6a5de 100644
--- a/filter/xsl/filter_put.xsl
+++ b/filter/xsl/filter_put.xsl
@@ -500,6 +500,15 @@
+
+
+
+
+
diff --git a/manual/faq.html b/manual/faq.html
index 5f2e97f1..c02ec3f7 100644
--- a/manual/faq.html
+++ b/manual/faq.html
@@ -54,8 +54,8 @@ Frequently Asked Questions (FAQ)
How do I make MerMEId recognize a certain number as a
catalogue work number?
Is there a way to do a 'search and replace' in all of my
- files?
-
+ files?
+ Can I paste any HTML tag/structure into the TINYMCE editor?
Customizing the MerMEId editor
+ Can I paste any HTML tag/structure into the TINYMCE editor?
+ No, since the HTML input needs to be transformed to MEI in the backend, only a limited set
+ of HTML tags are supported. These include the tags that are accesible via the buttons of the
+ editor like <em>
, <span>
, or <strong>
.
+ Other HTML markup will be silently removed.
Customizing the MerMEId editor
Can I add fields to the editor form or alter existing ones?
In principle yes, if you know how to write