A supported public API for HTML Editor customization

Pedro Duque Vieira pedro.duquevieira at gmail.com
Fri May 4 14:29:48 PDT 2012


Hi Alexander,

I've just filled the issue:  http://javafx-jira.kenai.com/browse/RT-21386

Thanks for your support. Best regards,

On Fri, May 4, 2012 at 10:22 PM, Alexander Kouznetsov <
alexander.kouznetsov at oracle.com> wrote:

> Hi Pedro,
>
> All sounds like a reasonable suggestions. Could you please file a bug on
> that or I can do that for you.
>
> Thank you!
>
> Best regards,
> Alexander Kouznetsov
>
>
>
> On 05.05.2012 0:43, Pedro Duque Vieira wrote:
>
>> I think my choice of words might not have been the best. I'll try to
>> clarify my opinion:
>>
>> What I meant is, you should be able to have the rich text editor without
>> the accompanying controls (like make bold, copy, etc).
>> There should be methods on the HTMLEditor class for making the selected
>> text bold, hyperlink, copy, etc like what exists now for the class
>> TextInputControl. Than you could create whatever controls you'd like, and
>> place them wherever you want, and call the methods on the HTMLEditor to
>> perform the mentioned actions.
>>
>> Also shouldn't HTMLEditor be a subclass of TextInputControl?
>>
>> Cheers, thanks
>>
>> On Fri, May 4, 2012 at 4:40 PM, Pedro Duque Vieira<
>> pedro.duquevieira at gmail.com>  wrote:
>>
>>  +1 for this one.
>>>
>>> I think the text editing controls shouldn't come with the control that
>>> displays the HTML.
>>> Those should be two separate things.
>>>
>>> A programmer should be able to create their own controls for interacting
>>> with the HTML viewer/editor and hook them with the HTML viewer/editor by
>>> calling the methods to edit/change the html within.
>>>
>>> --
>>> Pedro Duque Vieira
>>>
>>>
>>
>>


-- 
Pedro Duque Vieira


More information about the openjfx-dev mailing list