Completed
Last Updated: 26 May 2016 12:32 by Matthew Hamilton
ADMIN
Dobromir
Created on: 17 Jul 2013 09:49
Category: Editor
Type: Feature Request
1
FIX: Incosistent behaviour of the FormatBlock Tool under different browsers.
When using FormatBlock Tool with text inside <div> element the result differs under the different browsers.

IE:
- cursor placed inside the <div> with no selection: the <div> tag is replaced by the selected heading.
- partially selected text: the <div> is split into two and the selection is wrapped with a heading tag.

FireFox:
- cursor placed inside the <div> with no selection: a heading tag wraps the whole text and the <div> is preserved as parent element.
- partially selected text: the <div> is split into two and the selection is wrapped with a heading tag.

Chrome:
- cursor placed inside the <div> with no selection: the <div> tag is replaced by the selected heading.
- partially selected text: the <div> is split into two and the selection is wrapped with a heading tag.
1 comment
Matthew Hamilton
Posted on: 17 Jul 2013 11:03
A similar related problem - if you use the new paragraph button on text in a div the div is removed and replaced with p tags

These functions make it impossible to edit html with divs or a div based layout using the edit and you need to switch to html and type the code.

Its a bit of a killer if you are making responsive type content