Describe the bug
If you don't provide view options, the editor only lets you input once at a time before it resets and puts your cursor back to the start of the line you're on.
To Reproduce
Steps to reproduce the behavior:
In the sandbox, remove the view property from the options object.
Put your cursor somewhere that isn't at the start of a line
Press any input key (character, backspace, etc)
Cursor resets to the start of the line
Expected Behavior
Either fill in the default options if they are not provided in a way that doesn't cause the editor to fully reload with every change (my personal preference and what I would expect to happen as "options" are usually providing things that differ from default), or make the view property mandatory (and please provide an example of how to provide the default settings in the TSDoc so we aren't guessing).
Describe the bug If you don't provide view options, the editor only lets you input once at a time before it resets and puts your cursor back to the start of the line you're on.
To Reproduce Steps to reproduce the behavior:
view
property from theoptions
object.Expected Behavior Either fill in the default options if they are not provided in a way that doesn't cause the editor to fully reload with every change (my personal preference and what I would expect to happen as "options" are usually providing things that differ from default), or make the
view
property mandatory (and please provide an example of how to provide the default settings in the TSDoc so we aren't guessing).Thanks!
Tested on platform editor.