Default RichTextArea model should support inline nodes (directly or through extension):
- editing
- copy/paste
- saving/loading
User feedback:
... the addition of something like the following method to StyledTextModel:
protected abstract int insertNodeSegment(int index, int offset, Supplier<Node> sup, StyleAttributeMap? attrs?);
and that the method:
public final TextPos replace(..., StyledInput input)
then handles INLINE_NODE and appropriately invokes this added insertNodeSegment method.
- editing
- copy/paste
- saving/loading
User feedback:
... the addition of something like the following method to StyledTextModel:
protected abstract int insertNodeSegment(int index, int offset, Supplier<Node> sup, StyleAttributeMap? attrs?);
and that the method:
public final TextPos replace(..., StyledInput input)
then handles INLINE_NODE and appropriately invokes this added insertNodeSegment method.
- relates to
-
JDK-8351982 ☂ RichTextArea (Incubator) Feedback and Bugs in jfx24
-
- Open
-
-
JDK-8371067 RichTextArea: requestLayout by inline node doesn't reach VFlow
-
- In Progress
-
-
JDK-8371069 RichTextArea: caret with inline node
-
- Resolved
-
-
JDK-8365949 RichTextModel: add support for inline images
-
- Open
-