WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 10 days ago

#40570 reopened enhancement

Quicktags Toolbar hide if nojs

Reported by: DeusTron Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch needs-testing
Focuses: ui Cc:

Description

Without javascript it looks better if the quicktags toolbar is hidden.

Attachments (4)

class-wp-editor.diff (524 bytes) - added by DeusTron 4 years ago.
wp5.4-quicktags-no-js-firefox.png (32.9 KB) - added by sabernhardt 7 months ago.
toolbar shown without JavaScript but empty in WordPress 5.4 (Firefox)
wp5.4-quicktags-no-js-hidden-firefox.png (33.1 KB) - added by sabernhardt 7 months ago.
hiding the empty toolbar with hide-if-no-js class
40570.diff (523 bytes) - added by sabernhardt 7 months ago.
refreshed patch

Download all attachments as: .zip

Change History (11)

#1 @DeusTron
4 years ago

  • Keywords has-patch added

#2 @DeusTron
4 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

#3 @DeusTron
4 years ago

  • Resolution worksforme deleted
  • Status changed from closed to reopened

#4 @johnbillion
3 years ago

  • Version trunk deleted

@sabernhardt
7 months ago

toolbar shown without JavaScript but empty in WordPress 5.4 (Firefox)

@sabernhardt
7 months ago

hiding the empty toolbar with hide-if-no-js class

@sabernhardt
7 months ago

refreshed patch

#5 @sabernhardt
7 months ago

  • Component changed from General to Editor
  • Keywords needs-testing added
  • Type changed from feature request to enhancement

Thanks @DeusTron! I refreshed your patch.

Adding the class works, though the editor textbox might be a little too close to the post title box this way.

This ticket was mentioned in PR #263 on WordPress/wordpress-develop by tronsha.


7 months ago

Without javascript it looks better if the quicktags toolbar is hidden.

Trac ticket: https://core.trac.wordpress.org/ticket/40570

#7 @noisysocks
10 days ago

  • Milestone changed from Awaiting Review to Future Release
Note: See TracTickets for help on using tickets.