editor is never rendered when i18n is enabled
cafuego - December 21, 2007 - 06:47
| Project: | TinyMCE |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
With the i18n module enabled all paths on a drupal site become prefixed with the 2-character language code. ie: node/12/edit would become en/node/12/edit.
This means the regex on line 1128 of tinymce.module never matches, so tinymce can't be used (as-is) on a multi-lingual site.
I've updated the regex in my install, so it matches when required (patch attached). Sadly with the patch applied, tinymce won't load then i18n is disabled (yay) so this isn't something that everyone will need, but at last by having it here people can fix theirs.
| Attachment | Size |
|---|---|
| i18n.patch | 884 bytes |

#1
I confirm this issue and that this patch works. Is it just a matter of tweaking the regex to get it to work when i18n is disabled?
#2
A quick and dirty solution to this issue is to change the "Show tinymce on specific pages" to */node/*. It works well for me.
#3
No movement for over a year and a half; I'm not using tinymce or d5 anymore; closing issue.