Closed netoneko closed 11 years ago
I was thinking of adding the toolbar to the end of the any of the editor elements so there isn't too much confusion in what an element with .g-body
contains. What do you think?
Can you show me the resulting markup? I like the idea.
The problem is that if you use
editor.css
as it is you are expected to have<body class="g-class">
to make a toolbar work properly because toolbar styling relates on this fact.Now you can have something like that:
Toolbar will be appended not inside
document.body
but inside special<div class="g-body">
placed in the bottom of thedocument.body
. This assures that any external CSS won't break the toolbar.