Changes between Initial Version and Version 1 of Ticket #12403, comment 1


Ignore:
Timestamp:
Sep 5, 2014, 1:57:46 PM (6 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12403, comment 1

    initial v1  
    1 Theoretically, the most simple workaround would be to try remove duplicated styles in the new block created on enter. However, this is hard for few reasons - first of all, the code would need to land in enterkey plugin which simply does not handle such things, so it would need to reuse parts of style system... simply wrong.
     1~~Theoretically, the most simple workaround would be to try remove duplicated styles in the new block created on enter. However, this is hard for few reasons - first of all, the code would need to land in enterkey plugin which simply does not handle such things, so it would need to reuse parts of style system... simply wrong.~~ __Edit: see comment:3 why this is a totally incorrect idea.__
    22
    33Therefore it's better to handle this issue more generally. First thing to notice is that the problem is earlier - when a second span with the same style is created inside the previous one. If we avoid this, we will avoid the problem with enter.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy