Hi
This is the source of the content in the editor:
I would like to add content (maybe another DIV, or a P) outside this DIV, before and after it, too. But whatever key I press, I can't come out of this DIV. How can I come out of it? I know using the source editor would help, but those who will use this editor are not familiar with html so this is not a good solution.
This is the source of the content in the editor:
<div class="anything">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</div>
I would like to add content (maybe another DIV, or a P) outside this DIV, before and after it, too. But whatever key I press, I can't come out of this DIV. How can I come out of it? I know using the source editor would help, but those who will use this editor are not familiar with html so this is not a good solution.
Re: Coming out from a DIV element
EnterMode is set to 'p' and I don't intend to change that. I want to insert a DIV element before (or after) this paragraph. Because of the EnterMode setting, if I come out of this paragraph, it automatically creates another one. I want to insert a DIV element from the templates, so the inserted DIV goes inside the paragraph. I would like to create this DIV separately, not within a paragraph.
So how can I come out of the P element, without getting into another one?
Re: Coming out from a DIV element
The only solution, which I don't like, is to add my own custom CSS called .none that can be applied. Such as...
.none{
}