Opened 14 years ago
Closed 11 years ago
#6955 closed Bug (invalid)
Attributes duplicated from current tag to new tag when inserting a new line
Reported by: | rapdup | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 3.0 |
Keywords: | Cc: |
Description (last modified by )
In any browser:
- Goto Source view
- Create a div or p tag
- Include some styling such as a border with this tag
- Include some content with the tag
<div style="border-top: 3px solid red">Hello</div>
- Switch to WYSIWYG mode
- Place the cursor at the end of the content just created
- Add a new line
Expected: A new line should appear without content and without styling
Actual: A new line without content is created, but the styling is copied from the previous line
Attachments (2)
Change History (6)
Changed 14 years ago by
Attachment: | Screen shot 2011-01-10 at 1.37.22 PM.png added |
---|
Changed 14 years ago by
Attachment: | Screen shot 2011-01-10 at 1.39.06 PM.png added |
---|
Screenshot of source
comment:1 Changed 14 years ago by
Component: | General → Core : Styles |
---|---|
Description: | modified (diff) |
Status: | new → confirmed |
Version: | 3.4.2 → 3.0 |
comment:2 Changed 11 years ago by
Is there *any* chance of this bug being fixed in an upcoming release?
comment:3 Changed 11 years ago by
This is old bug report and no one has looked at it for a long time but reading it today gave me impression this behaviour is correct.
This is just my point of view but it looks quite correct to create div with some inline styling or classes and continue this styling on enter.
If one wishes to remove such styling he just needs to select this newly created div and press Remove Formatting.
- if there is text within this div - you can select text with mouse and press Remove Formatting Button
- if there is no text you can select this div with SHIFT+LEFT ARROW or press div element on elements path and then press Remove Formatting Button.
comment:4 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | confirmed → closed |
I have consulted this issue with my colleagues and final conclusion is that this is by design.
I'm closing this issue as invalid.
Screenshot