Opened 6 years ago

Closed 2 years ago

#10889 closed Bug (fixed)

Language plugin: removing formatting is too tricky

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 (3)

comment:1 Changed 6 years ago by Wiktor Walc

Description: modified (diff)

comment:2 Changed 6 years ago by Jakub Ś

Status: newconfirmed

comment:3 Changed 2 years ago by Marek Lewandowski

Resolution: fixed
Status: confirmedclosed

Fixed in GH#779.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy