[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andun Sameera Liyanagunawardana updated OPENMEETINGS-558:
---------------------------------------------------------

    Attachment: Adding_Wysiwyg_Editor_to_Compose_Message.patch

Hi Maxim,


As the first step, I have integrated wysiwyg editor to the compose message. To 
give the editor content to the private message object I use this code segment 
in the submit method.

                PrivateMessage p = getModelObject();
                p.setMessage(wysiwygEditor.getModelObject());

Then the message is sent perfectly. But the content is like this,

L<br><br><ul><li>abs</li></ul><p>LLL<br></p> 

This is because we are reading the html content from the editor. Doesn't the 
html content is sent as it is? I fell it is converted to a string.


                
> GSOC: Need wysiwyg editor Wicket component
> ------------------------------------------
>
>                 Key: OPENMEETINGS-558
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-558
>             Project: Openmeetings
>          Issue Type: Improvement
>          Components: HTML5
>    Affects Versions: 3.0.0 Apache Release
>            Reporter: Irina Arkhipets
>            Assignee: Maxim Solodovnik
>              Labels: gsoc2013
>             Fix For: 3.0.0 Apache Release
>
>         Attachments: Adding_Wysiwyg_Editor_to_Compose_Message.patch, 
> Wysiwyg-Wicket_v1.1.zip, Wysiwyg-Wicket.zip
>
>
> Need wysiwyg Wicket editor component to be used for chat/invitations/messages 
> in HTML5.
> Please note that it should be Apache compatible.
> Here is good MIT licensed candidate:
> demo: http://mindmup.github.io/bootstrap-wysiwyg/
> source: https://github.com/mindmup/bootstrap-wysiwyg/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to