* fix(richtext-lexical): make sure block fields are wrapped in a uniquely-named group * chore: remove redundant hook * chore(richtext-lexical): attempt to fix unnecessary unsaved changes warning regression * cleanup everything * chore: more cleanup * debug * looks like properly cloning the formdata for setting initial state fixes the issue where the old formdata is updated even if node.setFields is not called * chore: fix e2e tests * chore: fix e2e tests (a selector has changed) * chore: fix int tests (due to new blocks data format) * chore: fix incorrect insert block commands in drawer * chore: add new e2e test * chore: fail e2e tests when there are browser console errors * fix(breaking): beforeInput and afterInput: fix missing key errors, consistent typing and cases in name
8 lines
148 B
TypeScript
8 lines
148 B
TypeScript
'use client'
|
|
|
|
import React from 'react'
|
|
|
|
export const AfterInput: React.FC = () => {
|
|
return <label className="after-input">#after-input</label>
|
|
}
|