@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
24 lines (23 loc) • 895 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.annotationMessages = void 0;
var _reactIntlNext = require("react-intl-next");
var annotationMessages = exports.annotationMessages = (0, _reactIntlNext.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'
}
});