Feature #3888

Apply styles across multiple paragraphs

Added by Colan Schwartz about 12 years ago. Updated about 12 years ago.

Status:NewStart date:2009-09-17
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-
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

Duplicated by Redmine - Feature #12588: Text Formatting should be able to be applied beyond a par... Closed

History

#1 Updated by Jean-Philippe Lang about 12 years ago

  • Subject changed from Styles are broken across paragraphs to Apply styles across multiple paragraphs

#2 Updated by Jean-Philippe Lang about 12 years ago

  • Tracker changed from Defect to Feature

#3 Updated by Go MAEDA over 6 years ago

  • Duplicated by Feature #12588: Text Formatting should be able to be applied beyond a paragraph added

Also available in: Atom PDF