Bug #205

Manually adding editor shebang with TinyMCE does not change editor type

Added by Alex Cartwright about 2 years ago. Updated about 1 year ago.

Status:Closed Start date:2009-12-06
Priority:Medium Due date:
Assignee:Alex Cartwright % Done:

100%

Category:TangoCMS::Modules
Target version:2.5.0
PHP Version:

Description

When the default editor is set to 'HTML', and the 'Editor' module is loaded (so TinyMCE loads), manually adding a different shebang (such as #!plaintext) does not alter the editor used when saved, instead '#!plaintext' will become part of the page.

Steps to reproduce:
  • Set editor to HTML, ensure Editor module loads with TinyMCE
  • Type on the first line, #!plaintext followed by new line then some random text
  • Save and view the page
Expected Results
  • Page should be rendered using plaintext editor, and '#!plaintext' should not appear in the document
Actual results:
  • Html editor is still used, with '#!plaintext' displaying in the page.

History

Updated by Alex Cartwright almost 2 years ago

  • Status changed from Confirmed to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF