Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#37180 closed enhancement (maybelater)

Visual feedback on repositioning of MCE in pages and posts

Reported by: beining's profile beining Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6
Component: TinyMCE Keywords: ui-feedback
Focuses: ui Cc:

Description (last modified by swissspidy)

This ticket relates to [37446] and #28826 when using the visual editor. Currently one does not get any visual cues as to the possibility to drag the MCE content around.

Option 1 - drag n drop
Similar to Dashboard, the Shortcake plugin or galleries could have "drag and drop", where the cursor changes from an arrow to dashicons-move https://developer.wordpress.org/resource/dashicons/#move

The content (MCE) then can be dragged around and shows a dashed outline box where the content (MCE) can be placed (just like on Dashboard and Appearance > Widgets).

There is an outline of the content (MCE) where it originally positioned.
https://dl.dropboxusercontent.com/u/32646/wordpress/mce-option1_dragdrop.jpg


Option 2 - Move to previous or next paragraph
On mouseover, a menu shows up with arrows up and down. Clicking on up, moves the content (MCE) to the previous paragraph, clicking it down, moves the content (MCE) to the next paragraph

https://dl.dropboxusercontent.com/u/32646/wordpress/mce-option2_updown.jpg

Attachments (4)

example1.png (360.9 KB) - added by Ixium 9 years ago.
mce-option1_dragdrop.jpg (66.9 KB) - added by beining 9 years ago.
MCE option 1 - Drag and drop
mce-option2_updown.jpg (64.9 KB) - added by beining 9 years ago.
MCE option 2 - Up down arrows
68747470733a2f2f7770636f726564657369676e2e6d7973746167696e67776562736974652e636f6d2f677574656e626572672f677574656e626572672e706e67.png (119.4 KB) - added by melchoyce 8 years ago.

Download all attachments as: .zip

Change History (16)

This ticket was mentioned in Slack in #design by beining. View the logs.


9 years ago

#2 follow-up: @Ixium
9 years ago

I think it will be a better idea to show the arrows only if there was text selected, so the content-box wont move to the previous paragraph, but above the text that was selected

#3 in reply to: ↑ 2 @beining
9 years ago

Do you mean to select a text inside the content box? (Something tells me I misunderstood this :)

How can you both select a text AND select the content box at the same time?

Replying to Ixium:

I think it will be a better idea to show the arrows only if there was text selected, so the content-box wont move to the previous paragraph, but above the text that was selected

#4 @swissspidy
9 years ago

  • Description modified (diff)

#5 @beining
9 years ago

  • Component changed from General to TinyMCE
  • Keywords ui-feedback added

@Ixium
9 years ago

#6 @Ixium
9 years ago

What is mean is: 'The content in the box isn't selected, because the it is (only) a draggable container' When some text is selected and you click on the arrow, you can let the content box jump up/down above or below the selected text.


#7 @beining
9 years ago

Right! Got it. Yeah, good idea.

@beining
9 years ago

MCE option 1 - Drag and drop

@beining
9 years ago

MCE option 2 - Up down arrows

#8 @beining
9 years ago

(Uploaded my images as not to have only links to my Dropbox in case I move the files)

This ticket was mentioned in Slack in #design by karmatosed. View the logs.


8 years ago

#10 @melchoyce
8 years ago

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

Great idea @beining! This is going to be introduced in the new WordPress Editor, Gutenberg, probably in 4.9. See the above mockup. Since it's coming in Gutenberg, I'm going to close this ticket for now. However, if you have any feedback on the mockup above, would love to get your input at https://github.com/WordPress/gutenberg/issues. :)

#11 follow-up: @beining
8 years ago

@melchoyce Cool! Great to see it being implemented. When will Gutenberg be launched?

#12 in reply to: ↑ 11 @melchoyce
8 years ago

Replying to beining:

@melchoyce Cool! Great to see it being implemented. When will Gutenberg be launched?

My guess is between August and September, if development continues to progress at the same pace it's been the past couple months.

Note: See TracTickets for help on using tickets.