Make WordPress Core

Opened 8 years ago

Closed 6 years ago

#38757 closed defect (bug) (maybelater)

TinyMCE view bugs

Reported by: iseulde's profile iseulde Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6
Component: TinyMCE Keywords:
Focuses: Cc:

Description

  • In safari, pressing enter either before or after the view won't move the cursor properly or at all.
  • In Firefox a border appear around the new paragraph, with the class _moz_abspos="white".
  • In all browsers deleting the previous line from before the view doesn't work.

Change History (11)

This ticket was mentioned in Slack in #core-editor by iseulde. View the logs.


8 years ago

#3 @azaozz
8 years ago

In 39217:

TinyMCE: fix black outline around _moz_abspos. This is added in Firefox in paragraphs inserted after a non-editable block.

See #38757.

#4 @iseulde
8 years ago

@azaozz That doesn't remove the class though. The class stays if you press enter a few times...

#5 @iseulde
8 years ago

I guess it's okay because it's stripped afterwards.

#7 @azaozz
8 years ago

Yeah, the patch only fixed the visual glitch. Seems to happen because the caret is in an absolute positioned element when the user presses Enter. FF inserts the attributes, then removes them as soon as the user starts to type or clicks anywhere.

None of the other glitches is a regression, so thinking we can report them upstream and/or try to fix them in 4.8.

This ticket was mentioned in Slack in #core-editor by iseulde. View the logs.


8 years ago

This ticket was mentioned in Slack in #core-editor by iseulde. View the logs.


8 years ago

#10 @iseulde
8 years ago

  • Milestone changed from 4.7 to Future Release
  • Version changed from trunk to 4.6

#11 @azaozz
6 years ago

  • Milestone Future Release deleted
  • Resolution set to maybelater
  • Status changed from new to closed

Still can reproduce being unable to delete a paragraph above a wp-view when it is the first paragraph in the editor. The rest of the glitches seem fixed.

Closing as maybelater, feel free to reopen with a patch if this still needs fixing in the classic editor.

Note: See TracTickets for help on using tickets.