Opened 18 years ago

Last modified 12 years ago

#548 closed New Feature

Context menu should recursively allow user to edit parent's Tags — at Version 2

Reported by: dricks2222 Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.5
Keywords: HasPatch Cc:

Description (last modified by Alfonso Martínez de Lizarrondo)

If you have :

<P>
  <DIV>
    <TABLE>
      <TR>
        <TD>
        Cursor here
        </TD>
      </TR>
    </TABLE>
  </DIV>
</P>

And you right click where 'Cursor here' is, the context menu should show :


Edit Table Cell
Edit Table Row
Edit Table
Edit DIV
Edit P


All the hierarchy until you reach the <BODY> Tag. Else, how are you suppose to edit the style of a the P tag for instance? ...

Change History (2)

comment:1 Changed 18 years ago by dricks2222

Sorry, i missed the Wiki formatting. So, the menu should be :

Edit Table Cell
Edit Table Row
Edit Table
Edit DIV
Edit P

comment:2 Changed 18 years ago by Alfonso Martínez de Lizarrondo

Description: modified (diff)

Having the full hierarchy of DOM nodes show up in the context menu sounds like a bad idea. After all it's a context menu, so it should show things relative only to the context, and everything beyond the table isn't needed:

if you want to edit the div or p (supposing that there are the proper commands for those tags) should be available when you right click on that element, or you would end up with a context menu really too long as soon as some elements get nested.

There are other options like having a status bar with all the nodes (available as a plugin) that are better suited if you want to show all the hierarchy anyway.

Voting for WontFix.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy