@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
18 lines • 737 B
JavaScript
import { defineMessages } from 'react-intl-next';
export var 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'
}
});