[Klipper] Force plain text on the edit dialog
ClosedPublic

Authored by safaalfulaij on Jan 26 2018, 4:50 AM.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
safaalfulaij created this revision.Jan 26 2018, 4:50 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJan 26 2018, 4:50 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
safaalfulaij requested review of this revision.Jan 26 2018, 4:50 AM

This is how it looks currently:

With the patch we'll get <b>Test</b> instead in the textedit.

mlaurent requested changes to this revision.Jan 26 2018, 6:18 AM
mlaurent added a subscriber: mlaurent.

Indeed it's better. but we need to use setAcceptRichText(false) in edit otherwise we can set html text by dnd or copy.

This revision now requires changes to proceed.Jan 26 2018, 6:18 AM

setAcceptRichText

broulik accepted this revision.Jan 26 2018, 8:31 AM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 26 2018, 9:10 AM
This revision was automatically updated to reflect the committed changes.