Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug MultiTV with richtext #2

Open
Dmi3yy opened this issue Jan 13, 2016 · 1 comment
Open

bug MultiTV with richtext #2

Dmi3yy opened this issue Jan 13, 2016 · 1 comment

Comments

@Dmi3yy
Copy link
Owner

Dmi3yy commented Jan 13, 2016

Не подцепляется в MultiTV для полей richtext, настройки брал из multicontent.congig.inc.php

@webber12
Copy link

webber12 commented Mar 4, 2016

Для multicontent надо заменить команды mceAddControl => mceAddEditor , mceRemoveControl =>mceRemoveEditor :
tinyMCE.execCommand('mceAddControl', false, editorId);
на
tinyMCE.execCommand('mceAddEditor', false, editorId);
тут https://github.com/Jako/multiTV/blob/master/assets/tvs/multitv/js/multitv.js#L981
и

tinyMCE.execCommand('mceRemoveControl', false, editorId);
на
tinyMCE.execCommand('mceRemoveEditor', false, editorId);
тут https://github.com/Jako/multiTV/blob/master/assets/tvs/multitv/js/multitv.js#L703

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants