@ -1,7 +1,7 @@
/**
* This source code is derived from code from Meta Platforms, Inc.
* and affiliates, licensed under the MIT license located in the
* LICENSE file in the /app/soapbox/features/compose/editor directory.
* LICENSE file in the /src/features/compose/editor directory.
*/
import { HashtagNode } from '@lexical/hashtag';
import { addClassNamesToElement } from '@lexical/utils';
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
import { LinkPlugin as LexicalLinkPlugin } from '@lexical/react/LexicalLinkPlugin';
/* eslint-disable eqeqeq */
import { $isAtNodeEnd } from '@lexical/selection';
class Point {
@ -2,7 +2,7 @@
import { isPoint, Point } from './point';
const VERTICAL_GAP = 10;
export const sanitizeUrl = (url: string): string => {