Project

General

Profile

Actions

Feature #3888

open

Apply styles across multiple paragraphs

Added by Colan Schwartz almost 15 years ago. Updated over 14 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

Also available in: Atom PDF