How might I go about integrated this WYMeditor plugin into Refinery CMS's WYMeditor?

164 views Asked by At

This question may be deemed off-topic or broad - apologies in advance if it is deemed so.

This plugin describes itself as "a Table editing plugin that gives the user ability to add and remove rows and columns as well as merge rows and columns" - this is the exactly what I need for my app's backend, powered by Refinery CMS 2.1.2.

These links lead me to believe that this feature request was never implemented but is definitely possible - I'm just wondering how.

One of the author's of the gem (Philip Arndt) hints, in the first link, that it may be a simple case of swapping out the existing Refinery CMS plugin.

I imagine I'm gonna need to determine that the plugin is compatible with the Refinery CMS I'm using and am gonna have to do a considerable amount of configuration and tweaking to get it to play nicely but I can't figure out where to start with this - what are the initial steps I have to take to at least get started? Does anyone else have experience in trying to tweak the toolbar of Refinery CMS's WYMeditor?

1

There are 1 answers

0
Shahar 'Dawn' Or On

This will probably not be a complete answer.

I'd probably start by forking the CMS at the version (tag) I want.

In the clone, I would find the code that initialized the editor. I would look for .wymeditor( to find that code.

I would then look at this example.