Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#29343 closed defect (bug) (worksforme)

Numbering or bullets listings are applied to the entire paragraph instead on the selected text

Reported by: moshe1010's profile Moshe1010 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9.2
Component: TinyMCE Keywords: reporter-feedback
Focuses: Cc:

Description

  1. Create a paragraph with
  2. blabla
  3. bla bla
  4. blabal

Do the A, B, C manually.

  1. Make sure there are several rows before the paragraph attached to the A, B, C or spaced with Shift+Enter
  1. Try to convert the A, B, C into a list of numbers or bullets

The result is converting the entire paragraph (before and after) to a list or bullet points

Chrome 36, OS X and Windows 8.1. Occurs on WP 3.9.2 and WP 4 B4

See the following for additional information:
http://imageshack.com/a/img901/6659/eJFDbv.gif

Change History (4)

#1 @azaozz
10 years ago

  • Keywords reporter-feedback added

Not sure what the problem is here. Seems to work this way in other text editors like LibreOffice, MS Office, etc.

#2 follow-up: @Moshe1010
10 years ago

The problem is that I select a specific text to be numbered as number 1, and the actual numbering starts on a completely different row.

Microsoft's failures are not really a good examples to provide a good editor to edit and write articles for websites.

Let's take in example Redactor editor, see the following:
http://imageshack.com/a/img540/8380/YmWvAW.gif

This is how it should work, as expected by the user. I selected a specific text to start as number 1, and it's starting it from the selected text. Currently, TinyMCE is completely messed up by having the number 1 on the top of the paragraph and not next to the selected text.

#3 @knutsp
10 years ago

Shift+Enter doesn't create a paragraph, just a new line within a paragraph. Pressing one of the list buttons makes that paragraph a list item, ignoring the new line, which will be part of the item.

#4 in reply to: ↑ 2 @azaozz
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Replying to Moshe1010:

Let's take in example Redactor editor, see the following:
http://imageshack.com/a/img540/8380/YmWvAW.gif

This works in exactly the same way in TinyMCE. Also, if you select several paragraphs and then click the UL/OL button, all are converted to a list.

However if you insert <br> tags in one paragraph (with Shift+Enter), the whole paragraph is converted to one list item (preserving the <br>). The difference is that Redactor splits the list on the <br> tags, TinyMCE splits it on the paragraphs. You can open an "enhancement" ticket on the TinyMCE's trac: http://www.tinymce.com/develop/bugtracker.php for this to be changed.

Microsoft's failures are not really a good examples to provide a good editor to edit and write articles for websites.

Unfortunately that is what the majority of users expect... If I remember right these behaviors date back to the 90's, even think some were first introduced in WordPerfect which was quite popular back then :)

Last edited 10 years ago by azaozz (previous) (diff)
Note: See TracTickets for help on using tickets.