Plugin Author
Franky
(@liedekef)
This is in fact wordpress removing the style-part, not EME. But in EME, you can allow this to stay. See the EME settings, tab “Other”, setting “Extra html tags”. Adding “span,style” there should work.
Thread Starter
Uobet
(@uobet)
Great, thank you very much for your – as usual – very fast and professional answer.
Thread Starter
Uobet
(@uobet)
Sorry, it’s still me…I tried as you told me with both
“span,style”
and/or
“span,style, visibility”
As I use this tag in a header template I tried to put it into the general HTML-Section and/or the header-html-Section, but my code:
<span style=”visibility: hidden;”>#_FIELD{51}</span>
after saving the header template still changes into
<span>#_FIELD{51}</span>
Plugin Author
Franky
(@liedekef)
Well, I can confirm this problem 🙂
It seems wordpress is even more strict when it comes to “safe” css attributes for the style tag.
So I added a new setting that allows you to add visibility as a safe tag (and other).
See this changeset:
https://plugins.trac.wordpress.org/changeset/2432528/
I’ll release a new version to fix this asap.
Thread Starter
Uobet
(@uobet)
Great, thank you very much!
Thread Starter
Uobet
(@uobet)
Hi,
I’ve installed the last version today.
Then I entered:
“span,style” in the section extra html-tag and
“visibility” into extra html style attributes
Then I triedd again with the command
<p><span style=”visibility: hidden;”>#_FIELD{51}</span></p>
in my header template,
but after saving it still changes into:
<p><span>#_FIELD{51}</span></p>
Can you help me?
Plugin Author
Franky
(@liedekef)
Is this a custom template (in the EME “template” menu) or somewhere in the EME settings? Because I’m using exactly those settings and the visibility style stays present.
Thread Starter
Uobet
(@uobet)
It is a header template which worked well until last year, something like this:
<p><span>#_FIELD{51}</span></p>
<table class=”eme-rsvp-form”>
<tbody>
<tr>
<td style=”width: 885.667px” colspan=”6″></td>
</tr>
<tr>
<td style=”width: 885.667px” colspan=”2″ align=”left” height=””75””>
<h5>Informationen zum Kind</h5>
</td>
</tr>
<tr>
<th style=”width: 228.95px” scope=”row”>Vorname:</th>
<td style=”width: 651.05px”>#REQ_FIELD{21}</td>
</tr>
<tr>
…
<tr>
<th style=”width: 228.95px” scope=”row”></th>
<td style=”width: 651.05px”>
<p style=”background-color: white” align=”justify”></p>
</td>
</tr>
</tbody>
</table>
Plugin Author
Franky
(@liedekef)
EME operates in the same way for more than a year already. Maybe some other plugin is interfering then? Since your settings work just fine here.