Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

3 лет назад
12345678910111213141516171819202122232425262728
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. *
  7. * @format
  8. * @flow strict-local
  9. * @emails oncall+draft_js
  10. */
  11. 'use strict';
  12. const {
  13. OrderedSet
  14. } = require("immutable");
  15. module.exports = {
  16. BOLD: (OrderedSet.of('BOLD'): OrderedSet<string>),
  17. BOLD_ITALIC: (OrderedSet.of('BOLD', 'ITALIC'): OrderedSet<string>),
  18. BOLD_ITALIC_UNDERLINE: (OrderedSet.of('BOLD', 'ITALIC', 'UNDERLINE'): OrderedSet<string>),
  19. BOLD_UNDERLINE: (OrderedSet.of('BOLD', 'UNDERLINE'): OrderedSet<string>),
  20. CODE: (OrderedSet.of('CODE'): OrderedSet<string>),
  21. ITALIC: (OrderedSet.of('ITALIC'): OrderedSet<string>),
  22. ITALIC_UNDERLINE: (OrderedSet.of('ITALIC', 'UNDERLINE'): OrderedSet<string>),
  23. NONE: (OrderedSet(): OrderedSet<string>),
  24. STRIKETHROUGH: (OrderedSet.of('STRIKETHROUGH'): OrderedSet<string>),
  25. UNDERLINE: (OrderedSet.of('UNDERLINE'): OrderedSet<string>)
  26. };