WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#10785 closed feature request (invalid)

Allow editor to be disabled on individual posts

Reported by: novasource Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8.4
Component: Editor Keywords:
Focuses: Cc:

Description

The TinyMCE editor is known for destroying some tags and HTML structures. Please allow us to disable the editor on a per-post or -page basis where we need permanent exemption from editor use.

A good example is I need to put a Google Map in a page. Right now the workarounds are convoluted. I simply want to permanently disable TinyMCE on that one page.

Change History (4)

comment:1 @johnbillion6 years ago

Surely a better approach would be to fix TinyMCE so that it doesn't fluff up markup in these situations.

comment:2 @novasource6 years ago

TinyMCE is an external product. Any customizations will have to be re-implemented on each TinyMCE update.

I think the best solution is twofold:

  1. Lobby TinyMCE maintainers to improve code handling.
  2. Implement this feature request and keep it until #1 is fulfilled.

comment:3 @strider726 years ago

I like the idea of deactivating TinyMCE on a per-post basis, but could it be achieved with a plugin? If so, sounds like plugin territory to me.

comment:4 @westi6 years ago

  • Milestone Unassigned deleted
  • Resolution set to invalid
  • Status changed from new to closed

If you want to disable per-post do it with a plugin.

Hints:

  • Use the user_can_richedit filter to return false for these pages
  • Store your setting in post_meta
Note: See TracTickets for help on using tickets.