@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
18 lines (17 loc) • 751 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.codeBidiWarningMessages = void 0;
var _reactIntlNext = require("react-intl-next");
var codeBidiWarningMessages = exports.codeBidiWarningMessages = (0, _reactIntlNext.defineMessages)({
/**
* Message taken from
* https://hello.atlassian.net/wiki/spaces/~tswan/pages/1366555782/PSHELP-2943+Investigate+Trojan+Source+Attack+Vulnerability+design
*/
label: {
id: 'fabric.editor.codeBidiWarningLabel',
defaultMessage: 'Bidirectional characters change the order that text is rendered. This could be used to obscure malicious code.',
description: 'Tooltip message to present to users when a bidirectional character is encountered in code.'
}
});