Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1486068 closed Feature Requests (fixed)

Please add hmtl_editor hook

Reported by: rosali Owned by:
Priority: 5 Milestone: 0.3.1
Component: Plugin API Version: 0.3-rc1
Severity: normal Keywords:
Cc:

Description

Code is attached.

If you accept the hook request it would be great to have a patch for
rcube_html_page.php ::: include_script to make it possible to change the script_path (default ./program/js) to something else. The reason is, that I have to include an alternative editor.js file by my TinyMCE plugin (coding in progress). But if I use $rcmail->api->output->include_script the file is included to late and I get javascript errors.

Attachments (1)

html_editor_hook.txt (783 bytes) - added by rosali 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by rosali

comment:1 follow-up: Changed 4 years ago by alec

Are you sure it would be enough? There're references to tinyMCE in app.js too.

comment:2 in reply to: ↑ 1 Changed 4 years ago by rosali

Replying to alec:

Are you sure it would be enough? There're references to tinyMCE in app.js too.

Well the hook does not hurt and it's a starting point.

comment:3 Changed 4 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Implemented in [9ab7bc6b].

comment:4 Changed 4 years ago by ekrieger

The Language-Check should be moved lower after the "abort"-check.

comment:5 Changed 4 years ago by rosali

Is there any solution for the following problem:

It would be great to have a patch for rcube_html_page.php ::: include_script to make it possible to change the script_path (default ./program/js) to something else. The reason is, that I have to include an alternative editor.js file by my TinyMCE plugin (coding in progress). But if I use $rcmail->api->output->include_script the file is included to late and I get javascript errors.

Note: See TracTickets for help on using tickets.