HomePhabricator

ContentEditableNode: Disable spellcheck when read-only

Authored by Esanders on Mar 14 2019, 5:43 PM.

Description

ContentEditableNode: Disable spellcheck when read-only

  • Remove 'contentEditable' event support, which was triggered by BranchNode.disable(). The ability to disable a surface was removed when read-only support was added, so this code is no longer used.
  • Emit a readOnly event from the surface, and have CE nodes listen to this and update their spellcheck property.
  • Use setup/teardown events like in FocusableNode.
  • Minor documentation fixes and cleanups.

Bug: T217740
Change-Id: Ia6ff21b67dd428074e6906d5f113757530434fab

Details

Committed
EsandersMar 14 2019, 6:53 PM
Parents
rGVED05e7c238f4e3: Merge "Always give inline slugs an src"
Branches
Unknown
Tags
Unknown
ChangeId
Ia6ff21b67dd428074e6906d5f113757530434fab