Empty tags are removed. <<< bad!
For example, to add Font Awesome symbol characters, in Source view one adds:
Notice there is NO CHARACTER to emphasize in the <em> tag. The character is add purely by CSS.
HOWEVER, upon switching to WYSIWYG then back to Source view, the ENTIRE <em> tag is deleted!!! Now, that's extremely helpful, now, isn't it! >:-P
The whole purpose of using an empty tag like <em> or <i> or <span> is to NOT have an unwanted character "hard coded" in. No, I can't use a , because it ADDS a SPACE character that UPSETS the CSS styling that creates a circle border around the FA icon character. A non-blanking space turns the circle into an oval, due to the width of the character.
Is there a line in a DropEditor core file that I can alter to prevent it from checking for and removing empty tags?
For example, to add Font Awesome symbol characters, in Source view one adds:
<em class="fa fa-warning" style="font-size: 60px; color: orange; border: 3px solid orange; border-radius: 60px; padding: 7px 7px;"></em>
Notice there is NO CHARACTER to emphasize in the <em> tag. The character is add purely by CSS.
HOWEVER, upon switching to WYSIWYG then back to Source view, the ENTIRE <em> tag is deleted!!! Now, that's extremely helpful, now, isn't it! >:-P
The whole purpose of using an empty tag like <em> or <i> or <span> is to NOT have an unwanted character "hard coded" in. No, I can't use a , because it ADDS a SPACE character that UPSETS the CSS styling that creates a circle border around the FA icon character. A non-blanking space turns the circle into an oval, due to the width of the character.
Is there a line in a DropEditor core file that I can alter to prevent it from checking for and removing empty tags?
- Page :
- 1
There are no replies made for this post yet.