UNPKG

@atlaskit/editor-common

Version:

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

18 lines 739 B
import { defineMessages } from 'react-intl-next'; export const annotationMessages = defineMessages({ createComment: { id: 'fabric.editor.createComment', defaultMessage: 'Comment', description: 'Create/add an inline comment based on the users selection' }, createCommentInvalid: { id: 'fabric.editor.createCommentInvalid', defaultMessage: 'You can only comment on text and headings', description: 'Error message to communicate to the user they can only do the current action in certain contexts' }, toolbar: { id: 'fabric.editor.annotationToolbar', defaultMessage: 'Annotation toolbar', description: 'A label for a toolbar (UI element) that creates annotations/comments in the document' } });