fix: Image resize, Link selector in Modals, Delete/ sync images and so much more (#1896)
* added image-resizing support * link form removed * updated image upload logic and 35% default width on upload * removed shadow, added alert if not saved and ts errors * prevent enter key on Link selector to trigger modal submit * added workspace slug to all tiptap instances * added delete plugin with loading indicator * added better syncing of "Saved" state of editor and Image uploads * removed redundant description_html check
This commit is contained in:
parent
cebc8bdc8d
commit
d470adf262
24 changed files with 493 additions and 179 deletions
|
|
@ -456,6 +456,7 @@ export const SinglePageBlock: React.FC<Props> = ({
|
|||
{showBlockDetails
|
||||
? block.description_html.length > 7 && (
|
||||
<TiptapEditor
|
||||
workspaceSlug={workspaceSlug as string}
|
||||
value={block.description_html}
|
||||
customClassName="text-sm min-h-[150px]"
|
||||
noBorder
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue