Ticket #178 (assigned enhancement)
<div> as a container type
Reported by: | evildmp | Owned by: | mr_lundis |
---|---|---|---|
Priority: | major | Milestone: | 2.0 |
Component: | editor | Version: | trunk |
Keywords: | Cc: |
Description
<div> has no semantic purpose, and so has not been considered a priority (or even desirable) for WYMeditor.
For our purposes, it would be extremely useful functionality. We have developed a plugin system for Django CMS http://github.com/digi604/django-cms-2.0/ (and a presentation system using WYMEditor http://bitbucket.org/spookylukey/semanticeditor).
The plugin system allows us to place database objects (which could be an image, a link, some content, some HTML, some Django template tags - anything) into the editor.
Sometimes, it's OK to place them as inline items (say an image in a paragraph).
But sometimes, it's not. The object might itself contain a <div>, or a <ul>, or a <p> - and the only container it can safely be inserted in is a <div>.
So, to make this work for such objects, only a <div> container is suitable - a <div> container would be a great enhancement.
The planned placeholder system will most likely meet you needs.