emewjin
emewjin
**Is your feature request related to a problem? Please describe.** I needed to implement the functionality of replacing node A with node B, but craft.js didn't provide a function like...
The `useNode` and `useEditor` hooks both provide the `actions.setProp`. The documentation provides descriptions for each method as shown below, but I'm not entirely clear on the differences. What is the...
version: 1.5.0 [codesandbox](https://codesandbox.io/p/sandbox/inspiring-merkle-wn8kqt?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clq68fm3o00063b84j6v7jj7a%2522%252C%2522sizes%2522%253A%255B70%252C30%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clq68fm3o00023b844yhk8s4k%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clq68fm3o00033b84snwklf98%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clq68fm3o00053b84r5um1g5q%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clq68fm3o00023b844yhk8s4k%2522%253A%257B%2522id%2522%253A%2522clq68fm3o00023b844yhk8s4k%2522%252C%2522tabs%2522%253A%255B%255D%257D%252C%2522clq68fm3o00053b84r5um1g5q%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clq68fm3o00043b84l48qs41l%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522id%2522%253A%2522clq68fm3o00053b84r5um1g5q%2522%252C%2522activeTabId%2522%253A%2522clq68fm3o00043b84l48qs41l%2522%257D%252C%2522clq68fm3o00033b84snwklf98%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522clq68fm3o00033b84snwklf98%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D) `decompressFromBase64` can return `null` but it's type definition is `export function decompressFromBase64(input: string): string;`.  It should be `export function decompressFromBase64(input: string): string | null;` ```js console.log(decompressFromBase64(''))...