Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SA WYSIWYG plugin
#1
Plugin In Progress

Ive been working on a wysiwyg editor plugin for a while, trying to find a way around the hardcoded ckeditor code in core. ( its not hacker friendly, it uses js strings not php objects to create configs and there are no hooks to mess with it )

So I made a kludgey plugin to create my own editor and insert it.
Initially, this is a ckeditor only endeavor, but will allow swapping any editor in the future.

Currently the first release will be a test plugin to test the methods I use for this.
The main goals are.

Replace plugin installation for ckeditor with an easier path.
This required a few things as plugins are impossible to install.
They require many steps and is anything but simple
  • create ckeditor config file, with plugin info
  • edit gsconfig to add proper path to custom config file
  • edit gsconfig to add custom toolbars so you can add your plugin icons
  • copy the plugin into a non user core directory inside admin template js folder

I expect my plugin to do the following for ckeditor
  • Simple drop of plugin files into a GS plugin folder
  • Toolbars can be programaticly designed.
  • Re-added support of all toolbar icons
  • Re-added support of button grouping

Some of the things I have started working on implementing with this.
  • Server preview without saving pages.
  • actual wysiwyg in the wysiwyg editor, yes css styled
  • codemirror in the source editor
  • syntax highlighter ui for <code> blocks, and front end syntaxhighlighting
  • lightbox insertion ( rel galleries ) and thumb links etc.

Alot more work to do still. But this is the start and proof of concept.

Codemirror
[Image: ckeditorplugins_1.jpg]

Code Insert
[Image: ckeditorplugins_2.jpg]

Server Preview
[Image: ckeditorplugins_3.jpg]

Ckeditor Css
[Image: ckeditorplugins_4.jpg]

Very experimental, drag and drop toolbar building
[Image: ckeditorplugins_5.jpg]


Oh and a couple of essential config options for ckeditor
Like fixing the stupid line wrapping of elements.
The removal of linebreaks and code formatting
The removal of elements with empty content ( This is now allowed in html5 )
Some other html5 support changes
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#2
looking great Shawn... another cracker from you....
My Github Repos: Github
Website: DigiMute
Reply
#3
Hi shawn_a, when will this SA WYSIWYG be availble? looks like a great extension to have...

Many thanks
Dodge
Reply
#4
I have stopped development on this while I work on gs core as lead developer. A lot of these features will be added to gs core in 3.3 or higher.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)