Matt Shirlaw
Matt Shirlaw
Perhaps we just need a way to disable this command on the splash screen (unless there already is a way). I'm not sure what would be a sensible alternative -...
@etrepum we are facing a very similar issue in our editor. For context we have some custom code that handles copy and paste of a decorator node. The code in...
Just before pasting the following logging gives: ```typescript console.log('Lexical selection'); console.log(JSON.stringify(selection)); console.log('Browser selection'); console.log(JSON.stringify(globalThis.getSelection())); ``` Lexical selection: ```json {"anchor":{"key":"8","offset":0,"type":"element"},"focus":{"key":"8","offset":0,"type":"element"},"_cachedNodes":[{"__type":"paragraph","__parent":"root","__prev":"4","__next":"12","__key":"8","__first":null,"__last":null,"__size":0,"__format":0,"__style":"","__indent":0,"__dir":null,"__textFormat":0,"__textStyle":""}],"format":0,"style":"","dirty":false} ``` Browser selection: ```json {} ``` https://github.com/user-attachments/assets/a3d73418-9c0e-4202-9ba7-c7a794e3174d