Changes between Initial Version and Version 1 of Ticket #12403, comment 1
- Timestamp:
- Sep 5, 2014, 1:57:46 PM (10 years ago)
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.__ 2 2 3 3 Therefore 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.