You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In typings the oldValue and newValue param are referred as object, meanwhile in actual usage in core editor SelectionBehavior class shows both parameters in onChange callback don't return an object, but rather to be it's superset type SelectionCursorMode. It'd be better to have type inference based on the PropertyBag type the item is instantiated with.
bugTeam confirmed and bug added to internal backlogreviewFor team triage, investigation, and review
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In typings the
oldValue
andnewValue
param are referred asobject
, meanwhile in actual usage in core editorSelectionBehavior
class shows both parameters inonChange
callback don't return an object, but rather to be it's superset typeSelectionCursorMode
. It'd be better to have type inference based on the PropertyBag type the item is instantiated with.Beta Was this translation helpful? Give feedback.
All reactions