UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

118 lines 4.32 kB
import { defineMessages } from 'react-intl'; export const messages = defineMessages({ moveUpBlock: { id: 'fabric.editor.block.menu.move.up', defaultMessage: 'Move up', description: 'Move the selected block up in the document' }, moveDownBlock: { id: 'fabric.editor.block.menu.move.down', defaultMessage: 'Move down', description: 'Move the selected block down in the document' }, copy: { id: 'fabric.editor.block.menu.copy', defaultMessage: 'Copy', description: 'Copy the selected content to the clipboard' }, copyLink: { id: 'fabric.editor.block.menu.copy.link', defaultMessage: 'Copy link', description: 'Label for a menu item in the block controls menu that copies a direct link to the selected content block to the clipboard.' }, copyLinkToSelection: { id: 'fabric.editor.block.menu.copy.link.to.selection', defaultMessage: 'Copy link to selection', description: 'Label for a menu item in the block controls menu that copies a link pointing to the current text selection to the clipboard.' }, linkCopiedToClipboard: { id: 'fabric.editor.block.menu.link.copied.to.clipboard', defaultMessage: 'Link copied to clipboard', description: 'Confirmation message shown when link is copied to clipboard' }, paragraph: { id: 'fabric.editor.block.menu.paragraph', defaultMessage: 'Paragraph', description: 'Change the selected block to a paragraph' }, codeBlock: { id: 'fabric.editor.block.menu.codeblock', defaultMessage: 'Code block', description: 'Convert the selected block to a code block' }, layout: { id: 'fabric.editor.block.menu.layout', defaultMessage: 'Layout', description: 'Convert the selected block to a layout node' }, deleteBlock: { id: 'fabric.editor.block.menu.delete.block', defaultMessage: 'Delete', description: 'Delete the selected block from the document' }, turnInto: { id: 'fabric.editor.block.menu.turn.into', defaultMessage: 'Turn into', description: 'Turn the selected block into another type' }, changeFormat: { id: 'fabric.editor.block.menu.change.format', defaultMessage: 'Change format', description: 'Change the selected block to another format' }, syncBlock: { id: 'fabric.editor.block.menu.sync.block', defaultMessage: 'Sync block', description: 'Create a synced block at this line, converting the selection to a synced block if applicable' }, copySyncedBlock: { id: 'fabric.editor.block.menu.copy.synced.block', defaultMessage: 'Copy synced block', description: 'Copy the selected synced block to the clipboard' }, newLozenge: { id: 'fabric.editor.block.menu.new.lozenge', defaultMessage: 'New', description: 'Text in lozenge which appears next to newly added menu items' }, decisionList: { id: 'fabric.editor.block.menu.decision', defaultMessage: 'Decision', description: 'Label for the decision option in the block menu transformation menu' }, wrapIcon: { id: 'fabric.editor.block.menu.wrap.icon', defaultMessage: 'Wrap', description: 'Aria label for the wrap icon in code block toolbar' }, create: { id: 'fabric.editor.block.menu.create', defaultMessage: 'Create', description: 'Menu section title for creating new block types' }, headings: { id: 'fabric.editor.block.menu.headings', defaultMessage: 'Headings', description: 'Menu section title for heading block types' }, suggested: { id: 'fabric.editor.block.menu.suggested', defaultMessage: 'Suggested', description: 'Menu section title for suggested block types' }, structure: { id: 'fabric.editor.block.menu.structure', defaultMessage: 'Structure', description: 'Menu section title for structural block types' }, fallbackNestedMenu: { id: 'fabric.editor.block.menu.fallback.nested.menu', defaultMessage: 'Nested Menu', description: 'Fallback text displayed for nested menu component in block menu when proper component is not available' }, fallbackMenuItem: { id: 'fabric.editor.block.menu.fallback.menu.item', defaultMessage: 'Block Menu Item', description: 'Fallback text displayed for menu item component in block menu when proper component is not available' } });