#9021 closed Bug (invalid)
forceEnterMode doesn't seem to work
Reported by: | Fabian Vogelsteller | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Enter Key | Version: | |
Keywords: | Cc: |
Description
Type a text, set format to DIV, so it wraps the text as a div. When i then press enter inside, i expect that he creates a <p> tag inside the div after the text, but instead he creates a p tag after the div.
i have forceEnterMode set to true.
Option forceEnterMode has nothing to do with this issue.
This is an issue of using wrong plugin to achieve goal.
If you want to wrap div around text and have paragraphs inside you should be using div container instead of Format or Styles dropdown as the later behave like a text container and not like block container.