| Summary: | JJ: Allow pasting rich text in the text tool editor | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Philippe Lhoste <PhiLho> |
| Component: | Tool/Text | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | halla |
| Priority: | NOR | Keywords: | junior-jobs |
| Version First Reported In: | 4.0 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://commits.kde.org/krita/ee24a14ddef66d3280101603065fdef05c419cee | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Philippe Lhoste
2018-03-26 09:42:57 UTC
QTextEdit doesn't support pasting rich text (html or rtf) natively. It's possible to implement that by overriding the copy and paste functions and getting at the mimedata directly. This isn't a complex job, and would make a good starting point for someone who wants to hack on krita. As for your "side note": please do not mix two or more issues in one report. It makes triaging next to impossible. I guess I put too much mixed information in my reports, sorry for that. The essence of the bug is that if we paste plain text after a select all of an existing text with one style (particularly font-family), I want the new text to keep the same text attributes. This allows to have a preset text (in a template, for example) to be copied and replaced while keeping style consistent. Git commit ee24a14ddef66d3280101603065fdef05c419cee by Dmitry Kazakov, on behalf of Mehmet Salih Çalışkan.
Committed on 11/10/2018 at 07:49.
Pushed by dkazakov into branch 'master'.
Paste plain text as selected text style on SVG text tool
Summary:
Paste plain text as selected text style, although all text selected on rich text window on SVG text tool.
{F6319395}
{F6319396}
Reviewers: #krita, dkazakov
Reviewed By: #krita, dkazakov
Subscribers: dkazakov, #krita
Tags: #krita
Differential Revision: https://phabricator.kde.org/D16119
M +1 -0 plugins/tools/svgtexttool/CMakeLists.txt
A +17 -0 plugins/tools/svgtexttool/SvgRichTextCtrl.cpp [License: UNKNOWN] *
A +15 -0 plugins/tools/svgtexttool/SvgRichTextCtrl.h [License: UNKNOWN] *
M +9 -2 plugins/tools/svgtexttool/WdgSvgTextEditor.ui
The files marked with a * at the end have a non valid license. Please read: https://community.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page.
https://commits.kde.org/krita/ee24a14ddef66d3280101603065fdef05c419cee
|