Drupal Editor

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Roi Danton's picture

Usefulness of WYSIWYG API for module developers whose module provides editor buttons

I've recently committed a project that provides an input filter that is inlining node titles, field values and taxonomy terms by ID.*

To utilize this the module has to provide buttons for editors that uses the filter tags and there the WYSIWYG API comes in mind. To provide those editor buttons (list of certain nodes/fields/terms) I return the data of a db query (for details see link) (1) and the output is forwarded to different buttons (autocomplete field, select list etc.) (2) and then sent to the editor by an additional function (3) because each editor uses a different "button format".

Is it possible to do step 3 with (a planned version of) WYSIWYG API, so the raw data of the db query or better the themed button containing that data can be submitted to WYSIWYG which then initialize this button for every editor supported? Currently I have to write an extra button for each editor and provide it by self written submodules.

Read more
sun's picture

Announcing Wysiwyg API - major milestone

I took the time to rewrite the Wysiwyg (Editor) module into a generic API over the weekend. So the primary concerns about TinyMCE-specific code all over the module are eliminated now. Also, you might have noticed, that I have added an example integration for FCKeditor already - which of course is rather a proof of concept than a fully-fledged integration (and it works cleanly 8).

So Wysiwyg has become a real API finally.

Read more
sun's picture

First patch for FCKeditor support hit Wysiwyg's queue

I have spent the last hours to get a first draft of FCKeditor support in Wysiwyg Editor module.
http://drupal.org/node/282717

It's still very rough and dirty, but it outlines what can be done and what needs to be done for multiple editor support in Drupal via one API module.

Now I badly need some feedback from folks that are interested in centralized Wysiwyg editor support, who know jQuery + JavaScript, and who might have ideas and suggestions on how to solve the outlined design challenges. Of course, all editor module maintainers are implicitly more than welcome.

Read more
dvbao's picture

TinyMCE WYSIWYG Editor

Trang này đã từng hướng dẫn nhúng fckeditor vào Drupal. Mình vừa tìm thấy một editor có tính năng tương tự, thậm chí còn nhiều tính năng hơn. Đó là TinyMCE. Cách cài đặt cũng tương tự như fckeditor, chỉ có điều phải cấu hình trong Site configuration trước khi dùng. Mọi người có thể tham khảo tại http://drupal.org/project/tinymcehttp://tinymce.moxiecode.com/index.php.

Read more
Subscribe with RSS Syndicate content