Opened 11 years ago

Last modified 7 years ago

#10889 closed Bug

Language plugin: removing formatting is too tricky — at Version 1

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3 Beta
Keywords: Cc:

Description (last modified by Wiktor Walc)

  1. Start with
<span dir="ltr" lang="es">
El invierno pasado estuvo tan fr&iacute;o que literalmente se form&oacute; hielo en mi barba.&nbsp;
</span>
  1. Apply bold to "invierno"
  1. Select a part of text around "invierno" and click the "Remove format" button to remove formatting.
  1. Result:
<span dir="ltr" lang="es">El</span> 
invierno 
<span dir="ltr" lang="es">pasado estuvo tan fr&iacute;o que literalmente se form&oacute; hielo en mi barba.&nbsp; </span>

The information about the language is lost, causing an unexpected result for the unaware end user.

Expected result: removing formatting should not remove the information about the language (just colors, bold etc.), just like removing formatting does not remove links from the content.

Change History (1)

comment:1 Changed 11 years ago by Wiktor Walc

Description: modified (diff)
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