Preparations
- download SourceDialog plugin from http://ckeditor.com/addon/sourcedialog website
- install SourceDialog plugin:
- download plugin file (zip)
- unpack downloaded file into /core/ckeditor/plugins/ folder
- edit inp_ckconfig.js file (in interface preset or global one, whichever is used) and inside it:
- add sourcedialog to comma-separated list of plugins in CKEDITOR.config.extraPlugins setting
- change CKEDITOR.config.toolbar_Inline setting and add 'Sourcedialog' to last array
Test Plan
- in IDE:
- edit index.tpl file (of advanced theme) add mode="inline" to any <inp2:st_ContentBlock tag
- in Admin Console:
- go to Website & Content → Browse Website section
- click on Content Mode button in top frame
- confirm, that content block changed before doesn't have Edit Content orange button, but still have orange dotted frame
- click inside dotted frame
- confirm, that inline CKEditor was shown and it has Source button on toolbar
- click on Source button
- confirm, that CKEditor style modal window opens with just textarea and OK/Cancel buttons in it
- type something in textarea and press OK
- confirm, that inline CKEditor toolbar is still visible and new content appears inside dotted frame