There are only four divs to work with right now but this is a concept for now which, it would be great to get feedback on.
Added a new method for adding columns as an auto insert button function. So I removed the old method of using HTML divs and replaced with tinymce getContent. The biggest issue I have now is removing white space and empty lines between divs.
Also the cursor plants itself at the top of the content editor textarea box instead of planting itself on the last-known place user is editing. So I need to figure out how to resolve this cusor to stay in focus where it was last sitting before a new editor.execCommand('mceReplaceContent') is executed.
Well, I would like to have a look at it, I think the Html approach is useful as a complement to the UpFront framework. This has a PageBuilder function included, but that is not always the most optimal solution, your plugin sounds exciting in this regard.
I’ll follow you on GitHub then too
Maybe I should make two versions: mixmat-tsw-html and mixmat-tsw-columns, maybe.
The version on Github is the tinymce script that inserts columns wherever the mouse carat is at.
The biggest hurdle is getting the cursor to land in the right spot when using the arrows keys to navigate the tinymce textarea…