#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)
Change History (6)
Changed 4 years ago by rosali
comment:1 follow-up: ↓ 2 Changed 4 years ago by alec
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.

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