ekms 8.9.0-beta.16 → 8.9.0-beta.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/common/wp.js CHANGED
@@ -59,9 +59,13 @@ const setUpdate = (isA, update, states) => {
59
59
  update.styles = []
60
60
  }
61
61
  let style = root(state.value)
62
+ /*
62
63
  if (style == 'underlined') {
63
64
  style = 'underline'
65
+ } else if (style == 'italicize') {
66
+ style = 'italic'
64
67
  }
68
+ */
65
69
  update.styles.push(style)
66
70
  } else {
67
71
  update.color = root(state.value)
@@ -94,8 +98,11 @@ template = {
94
98
  'words are countable and statefulElements',
95
99
  'characters are countable',
96
100
  'paragraphs are countable',
97
- 'bold, italic, code and underline are styles',
101
+ 'bold, italic, code, capitalize and underline are styles',
98
102
  'underlined means underline',
103
+ 'capitalized means capitalize',
104
+ 'italicize means italic',
105
+ 'italicized means italic',
99
106
  // 'styles are negatable',
100
107
  "resetIdSuffix",
101
108
  {