WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 6 years ago

#29028 closed defect (bug) (worksforme)

Changing Visual to Text Editor Height Issue in Full Screen Mode

Reported by: justinedehonor Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9.1
Component: TinyMCE Keywords:
Focuses: Cc:

Description

The iframe #content_ifr which in the visual mode gets the height of the textarea #wp-editor-area in text mode. A bug will encounter when the height/content of the textarea in text mode is smaller than the height of the visual. You cannot scroll the other content in visual mode.

My workaround as of now is to make an empty spaces on the text mode to extend its height and it will take effect to the height of the iframe when switching in visual mode.

Change History (1)

#1 @azaozz
6 years ago

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

This works properly here. The only way the Visual editor won't have a scrollbar is if "something" is adding a style: html, body { overflow: hidden; } inside the editor iframe. This happens in fullscreen mode but the editor iframe is also auto-resized to the height of the content.

Perhaps this was some sort of a glitch with the 'autoresize' plugin. Closing as worksforme for now, feel free to reopen with exact steps to reproduce and browser type and version if this still happens.

Note: See TracTickets for help on using tickets.