Hello, is there a rule that would let me force any formatting within a custom tag to wrap the entire custom tag?
Example:
Some direction in how to do this would be greatly appreciated, there isn't much documentation on FakeObjects and ProtectedSources.
Example:
Original: <customtag>Hello <strong>Bob</strong> Smith.</customtag> Preferred: <strong><customtag>Hello Bob Smith.</customtag></strong>
Some direction in how to do this would be greatly appreciated, there isn't much documentation on FakeObjects and ProtectedSources.
Re: Force formatting tags to be moved outside of custom tag
A good place to start looking though would be the core/dtd.js file. It defines the various tags, and which ones are allowed inside of which other ones. It's a little difficult to follow, since it builds up sets inside of sets with one char var names, but you could play around with adding your custom tag in there to the appropriate level.
Re: Force formatting tags to be moved outside of custom tag
I got it to work by manipulating the dom, but I hope there's a more elegant solution.