apache / apache/royale-asjs

mx.controls.TextArea does not handle htmlText getter/setter

Open
#1,177 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
ActionScript
Stars
380
Forks
120
PR merge metrics
No merged PRs in 30d

Description

setting htmlText does not work. (getting and setting causes errors with coercion to HTMLInputElement).

Also setting innerHTML does not seem to be a viable option for native , so supporting this in the emulation version (assuming that sanitizer is also used) seems like it might need something else (contenteditable ?)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at mx.controls.TextArea and inspect the htmlText getter/setter behavior, including the coercion errors reported for HTMLInputElement. Compare that with native textarea handling of innerHTML and the mention of contenteditable and the sanitizer. Done should mean htmlText no longer errors and its emulation behavior is defined.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.