@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
25 lines (24 loc) • 820 B
JavaScript
import { defineMessages } from 'react-intl';
// Do not add messages to this file
// Add them here platform/packages/editor/editor-common/src/messages/block-menu.ts instead
/**
* @private
* @deprecated
*/
export const messages = defineMessages({
copyBlock: {
id: 'fabric.editor.block.menu.copy.block',
defaultMessage: 'Copy block',
description: 'Copy the selected block to the clipboard'
},
deleteBlock: {
id: 'fabric.editor.block.menu.delete.block',
defaultMessage: 'Delete',
description: 'The text is shown as a menu item in the block menu when the user wants to delete the currently selected block from the document.'
},
turnInto: {
id: 'fabric.editor.block.menu.turn.into',
defaultMessage: 'Turn into',
description: 'Turn the selected block into another type'
}
});