Small enhancement to TinyMCE

View: New views
3 Messages — Rating Filter:   Alert me  

Small enhancement to TinyMCE

by Marty Vance :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The revision I just pushed to the tinymce module adds validation to the
DD property.  Most of it was already in place.

TinyMCE validation has 3 fields:
- Rows (rows): number of rows in the underlying tag
- Columns (cols): number of columns in the underlying tag
- Editor Selector (mceclass): the editor_selector value from a custom
configuration.

The mceclass value now gets applied as a CSS class to the underlying tag
(mceEditor is used as the default) to trigger TinyMCE.  This now makes
it unnecessary to edit templates to aply a custom configuration.

This goes hand in hand with the rev I pushed to Articles that adds
TinyMCE to the list of property types which Articles allows validation.

Is anyone maintaining the TinyMCE module anymore?  The version of
TinyMCE in the module is 2.1.3, and the laterst version is 3.1.0.1.  The
changelog between these version is rather long.


~ Dracos
_______________________________________________
Xaraya_devel mailing list
Xaraya_devel@...
http://xaraya.com/mailman/listinfo/xaraya_devel

Re: Small enhancement to TinyMCE

by Hb-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marty Vance schrieb:
> ... Is anyone maintaining the TinyMCE module anymore?  ...

It would be great if using TinyMCE or plain old form fields is a per user setting.

Hb
_______________________________________________
Xaraya_devel mailing list
Xaraya_devel@...
http://xaraya.com/mailman/listinfo/xaraya_devel

Re: Small enhancement to TinyMCE

by jojodee-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marty Vance wrote:
>
 > The mceclass value now gets applied as a CSS class to the underlying tag
 > (mceEditor is used as the default) to trigger TinyMCE.

That is how it has always worked in the tinymce module for some versions
back now, using the mceEditor to trigger.

I'm not sure what version you're working off.


 > This now makes it unnecessary to edit templates to aply a custom >
 >configuration.

It makes it unnecessary to edit the template the template to add a
custom trigger name but that's it and doesn't address the actual real
problem in the tinymce module with custom configs.

Unfortunately the original tinymce module was written before the
multiple configs were available and the support for it has never really
supported it well. This change will not help that in the main, in that
the structure as a whole is flawed in the way the custom configs work.

Note also the current module was one of the first ever for a CMS using
tinymce. So there are many new features even since the first upstream
rewrite of tinymce that have never been updated to the current module.


Thus the current xartinymce rewrite is also to correct multiple configs,
and other features that are absent, and make the UI much simpler in the
admin.


>
> Is anyone maintaining the TinyMCE module anymore?  The version of
> TinyMCE in the module is 2.1.3, and the laterst version is 3.1.0.1.  The
> changelog between these version is rather long.
>
>


Yes, as you should know, i'm actively supporting and maintaining the
xaraya tinymce module.

Just to reiterate again what i posted in irc and elsewhere previously,
the current 'in development' version of xartinymce was nearly completed
some time ago. Unfortunately it coincided with total rewrite release of
version 3.0 of the upstream project.

Thus, i commenced another rewrite of xartinymce based on version 3.0 of
the upstream project. It was also an opportunity to bring up to date
some of the UI in the xartinymce module (nice checkboxes and so on) and
simplify it.

The new version also provides a better way of doing complex
configurations (the old module was based on the prior htmlarea module
and really not a good basis for expanding on).

The new tinymce rewrite has also been help up by lack of plugins that
have been working consistently or at all with it. I've had to rewrite
some for compatibility with the new version. We have a fairly stable
version that we would expect to release in the coming month or so in our
usual way at xaraya.com.

You can always follow the development and current status of the xaraya
tinymce project at:

http://xarigami.com/project/xartinymce

There you will find links to issue reporting (if you need fixes),
downloads, latest news on xartinymce, development notes, and a place
where you can  post/discuss your ideas for improvements.


Cheers
Jo

--
http://xarigami.com :: Creative web development with Xaraya
http://2skies.com   :: Open source hosting and development
_______________________________________________
Xaraya_devel mailing list
Xaraya_devel@...
http://xaraya.com/mailman/listinfo/xaraya_devel