A supported public API for HTML Editor customization
alexander.kouznetsov at oracle.com
Fri May 4 14:22:03 PDT 2012
All sounds like a reasonable suggestions. Could you please file a bug on
that or I can do that for you.
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
More information about the openjfx-dev