#59229 closed enhancement (fixed)
Add new post/page: admin notice when JS is off can't install plugin by single click
| Reported by: | bosskhj | Owned by: | joedolson |
|---|---|---|---|
| Priority: | low | Milestone: | 6.4 |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | has-patch has-test-info commit |
| Cc: | Focuses: | accessibility |
Description
In the block editor add a new post/page showing admin notice when JS is off something like this:
"The block editor requires JavaScript. Please enable JavaScript in your browser settings, or try the Classic Editor plugin."
But it will be easy for everyone if this "Classic Editor" button directly install the plugin from the admin notice when JS is off to add a new post/page.
I have added screenshots for easy-to-understand.
Attachments (8)
Change History (25)
@
3 years ago
Block Editor add new post and page - admin notice when JS is off - after clicked Classic Editor plugin
#3
@
3 years ago
- Keywords needs-patch added; has-screenshots removed
- Priority normal → low
- Type feature request → enhancement
Thanks for the ticket and welcome to WordPress Core Trac,
As the block editor is the default way to edit WordPress posts and pages, I'm marking this as low priority.
Concerning a potential patch, I guess the most relevant link would be wp-admin/plugin-install.php?s=classic-editor&tab=search&type=term?
@
3 years ago
by using this patch we can solved this issue, also it will show a button for install classic editor and active plugin.
This ticket was mentioned in Slack in #core by huzaifaalmesbah. View the logs.
3 years ago
#6
@
3 years ago
- Keywords has-testing-info added; needs-testing removed
Test Report
This report validates that the indicated patch addresses the issue.
Patch tested: https://core.trac.wordpress.org/attachment/ticket/59229/59229.patch
Environment
- OS: Windows 10 Pro 19045.3448
- Web Server: Apache
- PHP: 8.1.0
- WordPress: 6.4-alpha-56267-src
- Browser: Chrome 116.0.5845.189
- Theme: Twenty Twenty-Three
- Active Plugins:
- Classic Editor 1.6.3
- WordPress Beta Tester 3.5.4
Expected behavior: When JavaScript is not enabled in the user browser & user trying to Add A New Post, it should allow the user to install/activate the Classic Editor plugin directly from that page.
Results
- ✅ The patch works perfectly allowing the user to install/activate the Classic Editor plugin directly from that page with single click.
#7
@
3 years ago
- Milestone Awaiting Review → 6.4
- Owner set to
- Status new → accepted
For consistency, I'm going to take care of this alongside #58738.
This ticket was mentioned in PR #5275 on WordPress/wordpress-develop by @joedolson.
3 years ago
#8
Update patch 59229.patch for code standards and text consistency with the block widget messages.
Trac ticket: https://core.trac.wordpress.org/ticket/59229
#11
@
3 years ago
- Resolution fixed
- Status closed → reopened
@joedolson That new variable should be added in filter block_editor_no_javascript_message? Is that missed?
This ticket was mentioned in PR #5291 on WordPress/wordpress-develop by @mukesh27.
3 years ago
#12
In changeset 56672 the arge is missing. In this PR it will add that missing args.
Trac ticket: https://core.trac.wordpress.org/ticket/59229
@mukesh27 commented on PR #5291:
3 years ago
#14
Committed in https://core.trac.wordpress.org/changeset/56675
#16
@
16 months ago
I've already added the missing parameter to the block_editor_no_javascript_message, and included screenshots for clarity. Thanks for your help and input this update should make the workflow smoother for users encountering JavaScript issues.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Block Editor add new post and page - admin notice when JS is off