Socket
Socket
Sign inDemoInstall

richlagetest

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

richlagetest - npm Package Compare versions

Comparing version 0.0.0-6be927b5e548c5068a089eb75e70042a81d5cffd to 0.0.0-6eb10267334bade7aa5510ff24fdca3d3cf47747

dist/lib/EditorEventsContext.cjs.js

91

dist/src/consts.d.ts

@@ -1,10 +0,83 @@

/// <reference types="react" />
export declare const REMOVE_LINK_PREVIEW = "remove-link-preview";
export declare enum LinkPreviewProviders {
Instagram = "Instagram",
Twitter = "Twitter",
YouTube = "YouTube",
TikTok = "TikTok"
}
export declare const modalContentStyles: React.CSSProperties;
/// <reference types="draft-js" />
import { DraftEditorCommand } from '@wix/draft-js';
export declare const COMMANDS: Record<string, DraftCommand>;
export declare type DraftCommand = DraftEditorCommand | 'unstyled' | 'header-one' | 'header-two' | 'header-three' | 'header-four' | 'header-five' | 'header-six' | 'increase-font-size' | 'decrease-font-size' | 'left' | 'right' | 'center' | 'justify' | 'ordered-list-item' | 'unordered-list-item' | 'code-block' | 'blockquote' | 'backspace' | 'delete' | 'tab' | 'shiftTab' | 'esc' | 'ricosUndo' | 'ricosRedo' | 'focusToolbar' | 'increase-indent' | 'decrease-indent' | 'remove-link-preview' | 'link' | 'openPluginMenu';
export declare const TEXT_TYPES: readonly string[];
export declare const CHARACTERS: Readonly<{
TAB: string;
}>;
export { ModifierKey as MODIFIERS, ToolbarType as TOOLBARS, DisplayMode as DISPLAY_MODE, } from 'wix-rich-content-common';
export declare const KEYS_CHARCODE: {
ENTER: number;
ESCAPE: number;
SPACE: number;
};
export declare const FORMATTING_BUTTONS: Readonly<{
BOLD: string;
ITALIC: string;
UNDERLINE: string;
TITLE: string;
BLOCKQUOTE: string;
ALIGNMENT: string;
ALIGN_LEFT: string;
ALIGN_RIGHT: string;
ALIGN_CENTER: string;
ALIGN_JUSTIFY: string;
ALIGN_GROUP: {
tooltipKey: string;
name: string;
dataHook: string;
buttons: string[];
};
ORDERED_LIST: string;
UNORDERED_LIST: string;
FONT_SIZE: string;
SPOILER: string;
LINK: string;
HEADINGS: string;
TEXT_COLOR: string;
TEXT_HIGHLIGHT: string;
CODE_BLOCK: string;
UNDO: string;
REDO: string;
LINE_SPACING: string;
INCREASE_INDENT: string;
DECREASE_INDENT: string;
}>;
export declare const INSERT_PLUGIN_BUTTONS: Readonly<{
IMAGE: string;
GALLERY: string;
POLLS: string;
DIVIDER: string;
HTML: string;
VIDEO: string;
INSTAGRAM: string;
YOUTUBE: string;
TIKTOK: string;
TWITTER: string;
STORES: string;
EVENTS: string;
BOOKINGS: string;
BUTTON: string;
CODE_BLOCK: string;
SOUND_CLOUD: string;
GIF: string;
MAP: string;
FILE: string;
EMOJI: string;
UNDO: string;
REDO: string;
TABLE: string;
COLLAPSIBLE_LIST: string;
ADSENSE: string;
}>;
export declare const BUTTON_TYPES: Readonly<{
BUTTON: string;
FILE: string;
MODAL: string;
CUSTOM_BLOCK: string;
SEPARATOR: string;
DROPDOWN: string;
GROUP: string;
}>;
//# sourceMappingURL=consts.d.ts.map

@@ -1,5 +0,33 @@

export { createLinkPreviewPlugin } from './createLinkPreviewPlugin';
export { LINK_PREVIEW_TYPE } from './types';
export { pluginLinkPreview } from './editor';
export { LinkPreviewProviders } from './consts';
export * from './Icons';
export { default as ClickOutside } from './Components/ClickOutside/ClickOutside';
export { default as useClickOutside } from './Components/ClickOutside/useClickOutside';
export { default as LinkPanelWrapper } from './Components/LinkComponents/LinkPanelWrapper';
export { default as LinkButton } from './Components/LinkComponents/LinkButton';
export { default as LinkModal } from './Components/LinkComponents/LinkModal';
export { default as ToolbarButton } from './Components/ToolbarButton';
export { default as InlineToolbarButton } from './Components/InlineToolbarButton';
export { default as EditorModals } from './Modals/EditorModals';
export { default as decorateComponentWithProps } from './Utils/decorateComponentWithProps';
export { getToolbarTheme } from './Utils/getToolbarTheme';
export { getModalStyles, getBottomToolbarModalStyles } from './Utils/getModalStyles';
export { undo, redo } from './Utils/handleUndoRedoCommands';
export { getAnchorableBlocks } from './Components/AnchorComponents/anchorUtils';
export { updateLinkAtCurrentSelection, insertLinkAtCurrentSelection, insertLinkInPosition, getEntityData, insertCustomLink, hasLinksInBlock, getLinkRangesInBlock, fixPastedLinks, hasLinksInSelection, getLinkDataInSelection, removeLinksInSelection, getTextAlignment, setTextAlignment, getAnchorBlockData, mergeBlockData, isAtomicBlockFocused, blockKeyToEntityKey, setEntityData, setBlockNewEntityData, replaceWithEmptyBlock, deleteBlock, getBlockAtStartOfSelection, getSelectedBlocks, createEntity, createBlockAndFocus, createBlock, getBlockInfo, getBlockEntityType, getFocusedBlockKey, createCalcContentDiff, getEditorContentSummary, createSelection, getBlockType, hasInlineStyle, getDraftInlineStyle, indentSelectedBlocks, isTypeText, setForceSelection, deleteBlockText, insertString, deleteCharacterBeforeCursor, createLinkEntityData, getCharacterBeforeSelection, isPluginFocused, getSelectionRange, isInSelectionRange, cloneDeepWithoutEditorState, isCursorAtStartOfContent, isCursorAtFirstLine, selectAllContent, isAtomicBlockInSelection, setSelectionToBlock, hasBlockType, setNativeSelectionToBlock, } from './Utils/draftUtils';
export { triggerMention, insertMention } from './Utils/mentionUtils';
export { isiOS } from './Utils/isiOS';
export { mergeToolbarSettings } from './Utils/mergeToolbarSettings';
export { COMMANDS, DraftCommand, TEXT_TYPES, MODIFIERS, TOOLBARS, DISPLAY_MODE, CHARACTERS, FORMATTING_BUTTONS, INSERT_PLUGIN_BUTTONS, BUTTON_TYPES, KEYS_CHARCODE, } from './consts';
import './draftTypes';
export * from './tiptapTypes';
import { ContentState } from '@wix/draft-js';
import { DraftContent } from 'wix-rich-content-common';
export declare const convertFromRaw: (rawState: DraftContent) => ContentState;
export { convertToRaw, getVisibleSelectionRect, EditorState, SelectionState, DefaultDraftBlockRenderMap, Modifier, RichUtils, KeyBindingUtil, genKey, ContentBlock, BlockMapBuilder, AtomicBlockUtils, ContentState, RawDraftContentState, EditorChangeType, convertFromHTML, CharacterMetadata, BlockMap, getDefaultKeyBinding, } from '@wix/draft-js';
import DraftOffsetKey from '@wix/draft-js/lib/DraftOffsetKey';
export { DraftOffsetKey };
export { elementOverflowWithEditor } from './Utils/overflowUtils';
export { createEditorStyles } from './Utils/createEditorStyles';
export declare const getEmptyDraftContent: () => DraftContent;
export { getSelectionStyles, hasOneStyleInSelection, setInlineStyle, removeCurrentInlineStyle, getDefaultStyleFn, getCustomStyleFn, getCustomStyleFns, getBlockStyleRanges, } from './Utils/inlineStyleUtils';
export { scrollToBlock } from './Utils/scrollToBlock';
//# sourceMappingURL=index.d.ts.map

2

package.json

@@ -1,1 +0,1 @@

{"name":"richlagetest","version":"0.0.0-6be927b5e548c5068a089eb75e70042a81d5cffd"}
{"name":"richlagetest","version":"0.0.0-6eb10267334bade7aa5510ff24fdca3d3cf47747"}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc