[ 
https://issues.apache.org/jira/browse/ISIS-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978401#comment-14978401
 ] 

Martin Grigorov commented on ISIS-1217:
---------------------------------------

This is not possible with plain HTML <input>, i.e. text field.
For formatting people usually use WYSIWYG editors like 
http://wb-mgrigorov.rhcloud.com/summernote, for example. 
This way the domain property will hold an HTML snippet. You will have to parse 
it to get the parts you need. For that task you can use http://jsoup.org/ or a 
similar library.
In my opinion this should/could be an Isis addon. It is not complex, but it is 
not trivial either.

> Formatting text inside a text field
> -----------------------------------
>
>                 Key: ISIS-1217
>                 URL: https://issues.apache.org/jira/browse/ISIS-1217
>             Project: Isis
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.9.0
>            Reporter: Marianne Hagaseth
>            Assignee: Dan Haywood
>             Fix For: 1.11.0
>
>         Attachments: image002.jpg, image004.jpg, image006.jpg
>
>
> It should be possible to format the text inside a text field using Apache 
> ISIS.
> I would like to highlight some words in the text, maybe with different 
> colors/fonts dependent on their tags/meta data/meaning.
> Also, it should be possible to right-click a term/word in the text, and then 
> get a (list of) functions, and then it should be possible to select on of 
> these functions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to