General > General Discussion
Question: How can I change the textarea editor to another .example:tinymce
sddzcuigc:
Hi ,everyone.
I wanna to change the current message editor to a more powerful editor ,for example:
You can see a demo at
http://lnmp.ladyidiy.com/webim/ admin: admin password:apple0131
http://lnmp.ladyidiy.com/webim/client.php
http://lnmp.ladyidiy.com/webim164/ admin:admin password:(no password)
http://lnmp.ladyidiy.com/webim164/client.php
The problem's after I typed in the new editor. I can't get the message sent.
ChrisS:
Its because the wysiwyg editor you have added is using it's own textarea & not the messengers.
Personally, I don't see the point in having a full blown editor in a chat box.
Regards
sddzcuigc:
I just need the emotion and picture uploading function. And I use the same textarea id and name "msgwnd".
And what should I do if I have to replace the old to the new editor.
Dmitriy Simushev:
Hi,
You cannot use any markup in message: it will be cutted at server side.
I'm afraid but in Mibew 1.6.4/1.6.5 there is no way to do what you want.
New version of Mibew will provide an API for custom plugins. If you OK with unstable products,
you can fork Mibew at Github and try to implement functionality you want as a plugin.
Best regards,
Dmitriy
sddzcuigc:
I notice that I need to change the PHP functions to make the text area can contain html.
I wonder if there are developer docs for us to change the project.
Navigation
[0] Message Index
[#] Next page
Go to full version