forked from coracle/flotilla
Fix inline input
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="grid grid-cols-1 gap-2 sm:grid-cols-2 {$$props.class}">
|
||||
<div class="grid grid-cols-1 gap-2 lg:grid-cols-2 {$$props.class}">
|
||||
<label class="flex items-center gap-2 font-bold">
|
||||
<slot name="label" />
|
||||
</label>
|
||||
|
||||
@@ -4,8 +4,7 @@ import type {Node as ProsemirrorNode} from "@tiptap/pm/model"
|
||||
import type {MarkdownSerializerState} from "prosemirror-markdown"
|
||||
import {createPasteRuleMatch} from "./util"
|
||||
|
||||
export const LINK_REGEX =
|
||||
/([a-z\+:]{2,30}:\/\/)?[^<>\(\)\s]+\.[a-z]{2,6}[^\s]*[^<>"'\.!?,:\s\)\(]*/gi
|
||||
export const LINK_REGEX = /([a-z\+:]{2,30}:\/\/)?[^<>\(\)\s]+\.[a-z]{2,6}[^\s<>"'\.!?,:\)\(]*/gi
|
||||
|
||||
export interface LinkAttributes {
|
||||
url: string
|
||||
|
||||
Reference in New Issue
Block a user