Ticket #13248 (confirmed Bug)
plone.app.theming - TinyMCE HTML mode problem
Reported by: | ricerco | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Visual Editor | Version: | 4.2 |
Keywords: | Diazo | Cc: |
Description
I've developed theme for Plone 4.2.1 site based on plone.app.theming, but there are glitches in TinyMCE editing mode as I attached Image.
When I click 'HTML' button to edit HTML code, some buttons in the screen such as 'Update' 'Cancel' and 'Word wrap' show up in different names in English or just garbage characters in Japanese.
I do 'workaround' that described in https://dev.plone.org/ticket/11829. It works well on English language setting, but doesn't work at all in Japanese setting.
In addition, buildout-installed Plone has another problem. Button name in HTML code screen show up as 'common_update' and 'common_cancel' both in English and Japanese setting, not changed.
How can I get correct language specific button names after developed theme applied?
Attachments
Change History
Changed 3 years ago by ricerco
-
attachment
tinymce_html.png
added
comment:1 Changed 3 years ago by kleist
- Status changed from new to confirmed
- Component changed from Unknown to Visual Editor
comment:2 Changed 3 years ago by terapyon
I just found wrong code at Products/TinyMCE/skins/themes/advanced/source_editor.htm.pt
Now:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
I think true code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
I used version is TinyMCE 1.2.13 on Plone 4.2.1.
I checked github ( https://github.com/plone/Products.TinyMCE/blob/master/Products/TinyMCE/skins/tinymce/themes/advanced/source_editor.htm.pt), but I can't find meta tag.
Is this already fixed?
TinyMCE - HTML mode