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
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.

AttachmentSize
i18n.patch884 bytes

#1

pcorbett - February 6, 2008 - 19:16

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

O_o - March 27, 2008 - 14:20

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

cafuego - November 4, 2009 - 22:34
Status:active» closed

No movement for over a year and a half; I'm not using tinymce or d5 anymore; closing issue.

 
 

Drupal is a registered trademark of Dries Buytaert.