Page MenuHomeIn-Portal Phabricator

INP-1726 - Add "Source" button to Content Blocks, edited in inline mode

Authored by alex on Aug 3 2017, 5:49 AM.


Test Plan
  • in IDE:
    1. open themes/advanced/index.tpl template for editing
    2. add mode="inline" attribute to st_ContentBlock tag
    3. save changes
  • in Admin Console:
    1. go to Website & ContentBrowse Website section
    2. click on Content Mode button in top frame
    3. confirm, that content block can be edited inline (clicking inside orange frame shows editor toolbar)
    4. if in above test Source button was absent on the toolbar then clear all browser cache and reload the page
    5. confirm, that Source button is present on the toolbar
    6. confirm, that using Source button it is possible to change raw HTML of the content block in new CKEditor dialog (not In-Portal modal window)

Diff Detail

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

Event Timeline

alex created this revision.Aug 3 2017, 5:49 AM
erik accepted this revision.Aug 3 2017, 5:57 AM
This revision is now accepted and ready to land.Aug 3 2017, 5:57 AM
alex updated this revision to Diff 837.Apr 6 2018, 9:00 AM

Removed all languages, but English.

This revision was automatically updated to reflect the committed changes.