codemirror-vim icon indicating copy to clipboard operation
codemirror-vim copied to clipboard

Can't change EditorState using "Vim.defineEx"

Open JustIdentity opened this issue 3 years ago • 0 comments

Description

As the titled written, I can't change EditorState using Vim.defineEx. Usually I want to preserve extension between different EditorState, so I am using StateEffect. I thought that was the problem, so I tried to disabled that and get the same error message. While when using <button> to change EditorState, it's work without any error.

With Button

With Button

With Vim Command

With Command

Code Sandbox Link

Code Sandbox Code Sandbox (without preserving extension)

JustIdentity avatar Aug 15 '22 13:08 JustIdentity