Project

General

Profile

Actions

Feature #3888

open

Apply styles across multiple paragraphs

Added by Colan Schwartz over 15 years ago. Updated about 15 years ago.

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

Has duplicate Redmine - Feature #12588: Text Formatting should be able to be applied beyond a paragraphClosed

Actions
Actions #1

Updated by Jean-Philippe Lang about 15 years ago

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

Updated by Jean-Philippe Lang about 15 years ago

  • Tracker changed from Defect to Feature
Actions #3

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

Also available in: Atom PDF