Actions
Feature #3888
openApply styles across multiple paragraphs
Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
2009-09-17
Due date:
% Done:
0%
Estimated time:
Resolution:
Description
When selecting a block of text within a textfield and then clicking on B for bold or I for italics (and probably other styles as well), it doesn't work if multiple paragraphs are selected. The markup characters (e.g. * and _) only show up at the very beginning and end of selection, not around each paragraph within the selection.
If possible, the code should be able to detect carriage returns and place a markup character before and after each one (or none if there is no text between carriage returns) to account for multiple paragraphs.
For example, the result of clicking on the bold style button with all of the text selected should be
*Hello* *World*
...instead of...
*Hello World*
Related issues
Updated by Jean-Philippe Lang almost 15 years ago
- Subject changed from Styles are broken across paragraphs to Apply styles across multiple paragraphs
Updated by Jean-Philippe Lang almost 15 years ago
- Tracker changed from Defect to Feature
Updated by Go MAEDA over 9 years ago
- Has duplicate Feature #12588: Text Formatting should be able to be applied beyond a paragraph added
Actions