Skip to content

Upstream contributions to jfx.incubator.richtext #4

Description

@koppor

Gaps in the incubator RichTextArea that html-to-node currently works around (split from #2; details and workaround pointers there). Each landed OpenJFX feature deletes a workaround here:

  1. Character-level link attribute with activation handling (currently: custom HREF attribute + getTextPosition on click)
  2. Inline node/image embedding as first-class model feature (currently: addNodeSegment, view-only model only)
  3. Baseline-shift / vertical-align character attribute (currently: sub/sup lose their shift, font-size only)
  4. Numeric font weights (currently: CSL's font-weight: 100 collapses to normal/bold)
  5. Styleable selection/caret colors on the control (e.g. -fx-selection-fill, -fx-caret-color) instead of Modena rules on skin-internal sub-nodes — see the analysis in Evaluate a RichTextArea-based renderer (JavaFX incubator) as alternative to FxRenderer #2
  6. A lean read-only viewer mode without caret/edit overhead

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions