-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved output for text selection and copy/paste
Replace text elements (block) with tspan (inline) which seem to cause new lines when copying text. Remove all whitespace between tspan:s to not cause them to end as whitespace in copied text. Replace figure space codepoint with normal whitespace and use xml:space="preserve" instead. Otherwise copied text would include a confusing non-U+0020 whitespace. This also fixes an issue with Inkscape not rendering underline for a text element with only whitespace. Have reported bug/issue here https://gitlab.com/inkscape/inbox/-/issues/9621 Note that selecting multiple lines will currently not produce new lines i copied text. Possibly also fixes issue in Safari with text baseline styling. Fixes #5
- Loading branch information
Showing
20 changed files
with
87 additions
and
4,375 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.