19 Commits

Author SHA1 Message Date
onli
0d54063c5e Use old method to init ckeditor
Instead of using global JS-variables and ignoring serendipity[textarea]={$view}, this
approach actually uses the variable and therefore reinstates wysiwyg_init.tpl.

ckeditor_custom_config.js (Thx Ian!) is still respected, but the toolbar got restored to the old version. We need an easy way to remove _underline_, for example. It could be extended though.

This fixes #{107} somewhat, as serendipity_image_selector.php is useable now, but still with display errors (and without an upload widget). Probably still a good idea to copy the ML-eapproach of the normal textareas

This also works with htmlnuggets, without using spawnnugget from the core, instead wysiwyg_init.tpl gets reused in the plugin-config.

ckeditor_custom_plugin.js got emptied, the relevant code (which should only be the part that adds the plugins into the toolbar) should be integrated into wysiwyg_init.tpl).
2014-03-23 23:03:09 +01:00
Ian
faae4b0533 fix core to read ckeditor and handle hook-ins
This supports custom ckeditor plugins and a custom ckeditor config
and reads $eventData for
- normal entry form (case1) textareas,
- staticpage (case2) textareas and
- other nugget plugins (case3) textareas.
They all are build differently, therfore we needed three cases.
Please test!

Based to following commits
 8e26bd9 prepare core ckeditor for custom config and plugins
 44ea050 fix virtual js
 40609d8 add backend_footer hook

References #72
2014-03-15 19:02:13 +01:00
Ian
544d0bf7b4 fix wysiwyg-Spawnnugget() - fixes #92 2014-03-11 19:14:17 +01:00
onli
65814d625c Renamed OUT_STACK in plugin-config 2014-03-02 22:26:16 +01:00
Matthias Mees
dd013f3a70 Use new show hide buttons. 2014-03-01 15:51:44 +01:00
onli
daa3afe812 Fix drag'n drop in plugin configs
As discussed in #65. Uses a simpler approach to detect the order of the items and their activation at the same time
2013-10-09 16:43:15 +02:00
Matthias Mees
d0de74737e Fixes type/href attributes for button elements.
– <button> must have an explicit type="buttons" since it falls back
  to type="submit", which can have side effects
– <button> must not have a href attribute, always use data-href
2013-10-02 11:05:27 +02:00
Matthias Mees
1fb8c54efb Back to button style.
Partial manual revert of 168cb146eaec3c568527bbc5dcf06b4cb6e9bda8.
Please note that this does *not* contain any changes to the UI as
discussed; those will follow later.

References #41
2013-09-23 11:19:31 +02:00
Matthias Mees
0ac1a2f9ce Drop precautionary admin_link class.
References #41
2013-08-19 19:04:23 +02:00
onli
168cb146ea Use links instead of buttons (#41)
A bit unfamiliar, let's give it some time. The user/groups-menu are clearer now
2013-08-18 20:59:53 +02:00
Matthias Mees
3c3369f64b Markup maintenance. 2013-06-24 16:08:26 +02:00
Matthias Mees
17e0f159b0 Revert jQuery tooltips. 2013-06-24 11:04:56 +02:00
Matthias Mees
0bc97cbc88 Tooltips, tooltips, tooltips. Everywhere. Almost. 2013-06-23 18:45:58 +02:00
Matthias Mees
d30b62ad0a Zebra striping for plugin options. 2013-06-22 15:54:35 +02:00
Matthias Mees
b7b3415e9a Zebra striping for theme options.
TODO: Needs to be checked with a theme like BP which actually uses
      nested configuration groups here once all themes use the 2k11
      backend.
2013-06-22 14:56:28 +02:00
Matthias Mees
f0b7d6631b Spped up configuration display.
Since we now hide controls on no-js, we can skip some JS which
affected rendering performance.
2013-06-22 11:14:18 +02:00
Matthias Mees
f32de44b19 Icon buttons for toggle expand all. 2013-06-18 19:58:29 +02:00
Matthias Mees
a658e20b27 New iconfont build.
This includes only the icons actually used or intended to be used
in the backend. Please note that unfortunately, some class names
have changed. Also some icons have been exchanged.
2013-06-11 12:54:58 +02:00
onli
0933bf3682 renamed plugin-config templates 2013-06-07 15:15:57 +02:00