Ticket #1486068 (closed Feature Requests: fixed)

Opened 12 months ago

Last modified 12 months ago

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

html_editor_hook.txt (0.8 KB) - added by rosali 12 months ago.

Change History

Changed 12 months ago by rosali

follow-up: ↓ 2   Changed 12 months ago by alec

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

in reply to: ↑ 1   Changed 12 months 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.

  Changed 12 months ago by alec

  • status changed from new to closed
  • resolution set to fixed

Implemented in r2951.

  Changed 12 months ago by ekrieger

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

  Changed 12 months 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.