Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi everyone,
I need to be able to leave empty span tags in my mark-up so I can use an image replacement technique - in order ot cater for screen reader users.
How can I amend the tinyMCE config file to leave in this empty tags?
Thanks, Garry.
Hi,
last week we had the same question about empty td's. My guess is that that solution will work for span as well. (http://our.umbraco.org/forum/using/ui-questions/3408-richtextedtior-acting-strange?p=0#comment11811)
Open the tinyMceConfig.config file (in the config-folder). At the bottom is the validElements part. Look for the -span and change that to #span. This will allow you to use empty span-tags (note that a nbsp will be put in there).
HTH,
Peter
Excellent, thanks Peter.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
TinyMCE stripping out empty span
Hi everyone,
I need to be able to leave empty span tags in my mark-up so I can use an image replacement technique - in order ot cater for screen reader users.
How can I amend the tinyMCE config file to leave in this empty tags?
Thanks, Garry.
Hi,
last week we had the same question about empty td's. My guess is that that solution will work for span as well. (http://our.umbraco.org/forum/using/ui-questions/3408-richtextedtior-acting-strange?p=0#comment11811)
Open the tinyMceConfig.config file (in the config-folder). At the bottom is the validElements part. Look for the -span and change that to #span. This will allow you to use empty span-tags (note that a nbsp will be put in there).
HTH,
Peter
Excellent, thanks Peter.
is working on a reply...