Hi, thought I'd share a little workaround that has made my MODX life a bit easier. Ever wanted to keep MODX tags in CKEditor as 'read-only' so that people who don't know what they are can't easily change them (often by accident). This also allows you to move the tags around freely as independent object, and finally, the coolest bit is that it allows you to edit the tags through a neat dialog box.
I've attached an Image so that you can see what I am talking about.
Instructions
Backup your CKEditor addon folder! 'manager\assets\components\ckeditor'
Step 1.
Go to CKEditor website, and download latest CKEditor version (4.3 at this time), it will be a zip file, you need to extract these files into your CKEditor folder:
(this update is necessary because the widget app only works with version 4.3)
ckeditor.js
styles.js
contents.css
lang (folder)
adapters (folder)
Extract these filders to your CKEditor folder and overwrite the existing files.
Step 2.
Download and Extract the following plugins from the CKEditor website:
Widget (
http://ckeditor.com/addon/widget)
Lineutils (
http://ckeditor.com/addon/lineutils)
Placeholder (
http://ckeditor.com/addon/placeholder)
And extract them into your plugins folder
Step 3.
In your System Settings, find CKEditor options and add in the plugins so that MODX starts them up with CKEditor
widget,placeholder
That's it, now your modx tags will be treated as read-only blocks that can be editied from a dialog box.
Hope folks find it useful, I know its a really crude workaround but its pretty cool--it would be nice if the CKEditor addon had this sort of thing built in to it, to accommodate for MODX Tags/Syntax
Peace