Page MenuHomeIn-Portal Phabricator

INP-1698 - Allow using CKEditor and CodeMirror on same textarea
ClosedPublic

Authored by alex on May 1 2017, 6:17 AM.

Details

Test Plan

Part 1

  1. login to Admin Console
  2. go to Website & ContentForms section
  3. open new form creation window
  4. enter before <strong>text</strong> after in Description field's CodeMirror editor
  5. press icon for opening CKEditor below field name
  6. confirm, that CKEditor window opens
  7. text with formatting in CKEditor window matches one typed in CodeMirror editor
  8. remove after word in CKEditor
  9. press Save button on toolbar
  10. confirm, that after word was also removed from CodeMirror editor
  11. close form adding window

Part 2

  1. login to Admin Console
  2. go to Website & ContentForms section
  3. open new form creation window
  4. fill required fields
  5. click on E-mail Communication tab
  6. confirm, that Enable checkbox is unchecked
  7. confirm, that CodeMirror editor for Reply Message Signature field is disabled (text can't be typed in)
  8. check the Enable checkbox
  9. confirm, that CodeMirror editor for Reply Message Signature field became enabled (text can be typed in)
  10. type some text in CodeMirror editor for Reply Message Signature field
  11. uncheck Enable checkbox
  12. confirm, that unchecking Enable checkbox haven't removed text from CodeMirror editor
  13. check the Enable checkbox

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex updated this revision to Diff 737.May 1 2017, 6:17 AM
alex retitled this revision from to INP-1698 - Allow using CKEditor and CodeMirror on same textarea.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1698.
erik accepted this revision.May 2 2017, 5:37 AM
erik edited edge metadata.
This revision is now accepted and ready to land.May 2 2017, 5:37 AM
This revision was automatically updated to reflect the committed changes.