Closed Bug 102195 Opened 24 years ago Closed 23 years ago

Allow tags to be deleted without destroying the data in the tags in "Show all Tags" view

Categories

(SeaMonkey :: Composer, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 173319
Future

People

(Reporter: TucsonTester2, Assigned: cmanske)

Details

Build ID: 20010924 Composer should allow users to delete tags in the "Show all Tags" view without destroying what is wrapped in the tags. Reproducible: Always Steps to Reproduce: 1.Open composer 2.Click on the left alignment button on the toolbar 3.Type in some text 4.Switch to "Show all Tags" view 5.Click on the <div> tag and hit the delete key Actual Results: The div tag will be deleted, but along with the text. Expected Results: I would expect to be able to delete tags in show all tags mode without destroying the data wrapped in the tags. This would be especially be useful for the left align div tag, there is no way to get rid of it other than deleting it in the HTML source. (It doesn't hurt anything being there but does clutter up the screen if you've decided to change alignment a number of times.)
Confirmed
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
I definitely agree with reporter ; this can be sometimes bloody annoying.
This would require a whole can of worms. For now and forseeable future, clicking on a tag in "show tags" mode selects the entire element, contents and all, and thus deleting it will behave as you describe. Otherwise, we get into a world where people can delete <ul> but leave the <li>, etc.
Target Milestone: --- → Future
No, I don't think it is really difficult. We already have in code all we need to make a pseudo-dtd control on the relationship the new parent node and the content nodes of the "exploded" element. And this is a real blocker for some authoring cases.
I totally disagree. The whole point of "show all tags" mode is to aid in selecting content of a particular element *exactly* by clicking on the yellow tag. If you want to delete just the "tag", use html source. I could see having this request as an additional feature, but that would be a very low priority in the short term.
Assignee: syd → cmanske
Status: ASSIGNED → NEW
cmanske : see DW4 ; open a document and put the caret inside an element ; click with right-button on the tag in hierarchy bar at the bottom of document's view. Select "Remove tag".
this is now covered by the work done in bug 173319. *** This bug has been marked as a duplicate of 173319 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.