Skip to main content
added 36 characters in body
Source Link
Adrian Macneil
  • 12.2k
  • 2
  • 25
  • 59

Looking to build a Wordpress inspired "shortcode" for my EE editors to insert stylized content since they can't design their way out of paper bag. I'd like to put these shortcodes into a dropdown on my WYGWAM editors. Basically just a drop-down list that would paste in a series of Global EE variables into the editor instance.

Example:

[DROP DOWN]

1 Column (value would paste in something like: {column1} Put your info here {/column1}

2 Column

3 Column

4 Column

[DROP DOWN]
-----------
1 Column (value would paste in something like: {column1} Put your info here {/column1}

2 Column

3 Column

4 Column

I know I likely need to dive into the CKEditor config.js and link to a new plugin of some sort. Did some searching and found something someone is working on for CKEditor 4, but not sure what that is going to do with WYGWAM and I believe they are still using CK3.

Any help or insight would be greatly appreciated.

Thanks, Geoff

Looking to build a Wordpress inspired "shortcode" for my EE editors to insert stylized content since they can't design their way out of paper bag. I'd like to put these shortcodes into a dropdown on my WYGWAM editors. Basically just a drop-down list that would paste in a series of Global EE variables into the editor instance.

Example:

[DROP DOWN]

1 Column (value would paste in something like: {column1} Put your info here {/column1}

2 Column

3 Column

4 Column

I know I likely need to dive into the CKEditor config.js and link to a new plugin of some sort. Did some searching and found something someone is working on for CKEditor 4, but not sure what that is going to do with WYGWAM and I believe they are still using CK3.

Any help or insight would be greatly appreciated.

Thanks, Geoff

Looking to build a Wordpress inspired "shortcode" for my EE editors to insert stylized content since they can't design their way out of paper bag. I'd like to put these shortcodes into a dropdown on my WYGWAM editors. Basically just a drop-down list that would paste in a series of Global EE variables into the editor instance.

Example:

[DROP DOWN]
-----------
1 Column (value would paste in something like: {column1} Put your info here {/column1}

2 Column

3 Column

4 Column

I know I likely need to dive into the CKEditor config.js and link to a new plugin of some sort. Did some searching and found something someone is working on for CKEditor 4, but not sure what that is going to do with WYGWAM and I believe they are still using CK3.

Any help or insight would be greatly appreciated.

Thanks, Geoff

Tweeted twitter.com/#!/StackExpression/status/332269344966983682
Source Link

Add "shortcode" drop down to WYGWAM

Looking to build a Wordpress inspired "shortcode" for my EE editors to insert stylized content since they can't design their way out of paper bag. I'd like to put these shortcodes into a dropdown on my WYGWAM editors. Basically just a drop-down list that would paste in a series of Global EE variables into the editor instance.

Example:

[DROP DOWN]

1 Column (value would paste in something like: {column1} Put your info here {/column1}

2 Column

3 Column

4 Column

I know I likely need to dive into the CKEditor config.js and link to a new plugin of some sort. Did some searching and found something someone is working on for CKEditor 4, but not sure what that is going to do with WYGWAM and I believe they are still using CK3.

Any help or insight would be greatly appreciated.

Thanks, Geoff