UNPKG

medium-proeditor

Version:

A powerful & customizable Medium-style rich text editor

64 lines 3.03 kB
/** Enhanced Editor Messages with Simplified Keys */ declare const messages: { /** Placeholder for the title input field */ readonly titlePlaceholder: "Title"; /** The main placeholder of the editor */ readonly mainPlaceholder: "Tell your story..."; /** Label shown when the title field is focused */ readonly titleLabel: "Title"; /** Label shown when the subtitle field is focused */ readonly subtitleLabel: "Subtitle"; /** Label shown when the kicker field is focused */ readonly kickerLabel: "Kicker"; /** Text for bold formatting button */ readonly bold: "Bold"; /** Text for italic formatting button */ readonly italic: "Italic"; /** Text for hyperlink button */ readonly link: "Link"; /** Text placeholder for highlight menu link input */ readonly linkPlaceholder: "Paste or type a link…"; /** Text for increasing title size */ readonly bigTitle: "Big title"; /** Text for decreasing title size */ readonly smallTitle: "Small title"; /** Text for blockquote button */ readonly quote: "Blockquote"; /** Display media within the text column width */ readonly mediaInset: "Display media within text column"; /** Display media slightly beyond the text column width */ readonly mediaOutset: "Expand media beyond text column"; /** Display media across the full screen width */ readonly mediaFill: "Stretch media to fill screen"; /** Button label for setting image alt text */ readonly altTextButton: "Alt text"; /** Describe the image for accessibility */ readonly altDescription: "Describe the image for accessibility"; /** The inline tooltip */ readonly addContent: "Add an image, video, embed, or new part"; /** Tooltip for adding an image */ readonly addImage: "Add an image"; /** Tooltip for adding an image from Unsplash */ readonly unsplashImage: "Add an image from Unsplash"; /** Placeholder for Unsplash search input */ readonly unsplashSearch: "Type keywords to search Unsplash, and press Enter"; /** Tooltip for adding a video */ readonly addVideo: "Add a video"; /** Placeholder for entering a video URL */ readonly videoUrl: "Paste a YouTube, Vimeo, or other video link, and press Enter"; /** Tooltip for embedding external content */ readonly addEmbed: "Add an embed"; /** Placeholder for entering an embed content URL */ readonly embedUrl: "Paste a link to embed content from another site (e.g. X) and press Enter"; /** Tooltip for adding a code block */ readonly codeBlock: "Add a new code block"; /** Tooltip for adding a new content part */ readonly addPart: "Add a new part"; /** Placeholder for image caption */ readonly imgCaption: "Type caption for image (optional)"; /** Placeholder for embed caption */ readonly embedCaption: "Type caption for embed (optional)"; }; export type Messages = typeof messages; export default messages; //# sourceMappingURL=messages.d.ts.map