@wordpress/edit-post 7.24.1 → 7.26.0

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.
Files changed (267) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE.md +1 -1
  3. package/build/components/browser-url/index.js +3 -2
  4. package/build/components/browser-url/index.js.map +1 -1
  5. package/build/components/header/index.js +35 -33
  6. package/build/components/header/index.js.map +1 -1
  7. package/build/components/header/mode-switcher/index.js +1 -1
  8. package/build/components/header/mode-switcher/index.js.map +1 -1
  9. package/build/components/header/more-menu/index.js +2 -1
  10. package/build/components/header/more-menu/index.js.map +1 -1
  11. package/build/components/header/writing-menu/index.js +22 -18
  12. package/build/components/header/writing-menu/index.js.map +1 -1
  13. package/build/components/keyboard-shortcuts/index.js +1 -20
  14. package/build/components/keyboard-shortcuts/index.js.map +1 -1
  15. package/build/components/layout/index.js +45 -38
  16. package/build/components/layout/index.js.map +1 -1
  17. package/build/components/layout/index.native.js +3 -1
  18. package/build/components/layout/index.native.js.map +1 -1
  19. package/build/components/meta-boxes/meta-box-visibility.js +2 -6
  20. package/build/components/meta-boxes/meta-box-visibility.js.map +1 -1
  21. package/build/components/preferences-modal/index.js +87 -54
  22. package/build/components/preferences-modal/index.js.map +1 -1
  23. package/build/components/preferences-modal/options/enable-feature.js +23 -23
  24. package/build/components/preferences-modal/options/enable-feature.js.map +1 -1
  25. package/build/components/preferences-modal/options/enable-panel.js +3 -6
  26. package/build/components/preferences-modal/options/enable-panel.js.map +1 -1
  27. package/build/components/sidebar/plugin-document-setting-panel/index.js +3 -3
  28. package/build/components/sidebar/plugin-document-setting-panel/index.js.map +1 -1
  29. package/build/components/sidebar/plugin-sidebar/index.js +2 -10
  30. package/build/components/sidebar/plugin-sidebar/index.js.map +1 -1
  31. package/build/components/sidebar/post-status/index.js +3 -5
  32. package/build/components/sidebar/post-status/index.js.map +1 -1
  33. package/build/components/sidebar/settings-header/index.js +17 -43
  34. package/build/components/sidebar/settings-header/index.js.map +1 -1
  35. package/build/components/sidebar/settings-sidebar/index.js +80 -26
  36. package/build/components/sidebar/settings-sidebar/index.js.map +1 -1
  37. package/build/components/start-page-options/index.js +3 -3
  38. package/build/components/start-page-options/index.js.map +1 -1
  39. package/build/components/visual-editor/index.js +20 -257
  40. package/build/components/visual-editor/index.js.map +1 -1
  41. package/build/components/welcome-guide/index.js +6 -3
  42. package/build/components/welcome-guide/index.js.map +1 -1
  43. package/build/editor.js +20 -30
  44. package/build/editor.js.map +1 -1
  45. package/build/editor.native.js +3 -11
  46. package/build/editor.native.js.map +1 -1
  47. package/build/hooks/commands/use-common-commands.js +16 -12
  48. package/build/hooks/commands/use-common-commands.js.map +1 -1
  49. package/build/hooks/use-post-history.js +79 -0
  50. package/build/hooks/use-post-history.js.map +1 -0
  51. package/build/index.js +24 -20
  52. package/build/index.js.map +1 -1
  53. package/build/index.native.js +7 -1
  54. package/build/index.native.js.map +1 -1
  55. package/build/plugins/welcome-guide-menu-item/index.js +2 -6
  56. package/build/plugins/welcome-guide-menu-item/index.js.map +1 -1
  57. package/build/store/actions.js +94 -112
  58. package/build/store/actions.js.map +1 -1
  59. package/build/store/reducer.js +1 -95
  60. package/build/store/reducer.js.map +1 -1
  61. package/build/store/selectors.js +86 -48
  62. package/build/store/selectors.js.map +1 -1
  63. package/build-module/components/browser-url/index.js +3 -2
  64. package/build-module/components/browser-url/index.js.map +1 -1
  65. package/build-module/components/header/index.js +37 -35
  66. package/build-module/components/header/index.js.map +1 -1
  67. package/build-module/components/header/mode-switcher/index.js +1 -1
  68. package/build-module/components/header/mode-switcher/index.js.map +1 -1
  69. package/build-module/components/header/more-menu/index.js +2 -1
  70. package/build-module/components/header/more-menu/index.js.map +1 -1
  71. package/build-module/components/header/writing-menu/index.js +23 -19
  72. package/build-module/components/header/writing-menu/index.js.map +1 -1
  73. package/build-module/components/keyboard-shortcuts/index.js +1 -20
  74. package/build-module/components/keyboard-shortcuts/index.js.map +1 -1
  75. package/build-module/components/layout/index.js +46 -38
  76. package/build-module/components/layout/index.js.map +1 -1
  77. package/build-module/components/layout/index.native.js +4 -2
  78. package/build-module/components/layout/index.native.js.map +1 -1
  79. package/build-module/components/meta-boxes/meta-box-visibility.js +2 -6
  80. package/build-module/components/meta-boxes/meta-box-visibility.js.map +1 -1
  81. package/build-module/components/preferences-modal/index.js +87 -54
  82. package/build-module/components/preferences-modal/index.js.map +1 -1
  83. package/build-module/components/preferences-modal/options/enable-feature.js +22 -23
  84. package/build-module/components/preferences-modal/options/enable-feature.js.map +1 -1
  85. package/build-module/components/preferences-modal/options/enable-panel.js +3 -7
  86. package/build-module/components/preferences-modal/options/enable-panel.js.map +1 -1
  87. package/build-module/components/sidebar/plugin-document-setting-panel/index.js +3 -3
  88. package/build-module/components/sidebar/plugin-document-setting-panel/index.js.map +1 -1
  89. package/build-module/components/sidebar/plugin-sidebar/index.js +2 -10
  90. package/build-module/components/sidebar/plugin-sidebar/index.js.map +1 -1
  91. package/build-module/components/sidebar/post-status/index.js +4 -6
  92. package/build-module/components/sidebar/post-status/index.js.map +1 -1
  93. package/build-module/components/sidebar/settings-header/index.js +20 -46
  94. package/build-module/components/sidebar/settings-header/index.js.map +1 -1
  95. package/build-module/components/sidebar/settings-sidebar/index.js +80 -27
  96. package/build-module/components/sidebar/settings-sidebar/index.js.map +1 -1
  97. package/build-module/components/start-page-options/index.js +3 -3
  98. package/build-module/components/start-page-options/index.js.map +1 -1
  99. package/build-module/components/visual-editor/index.js +24 -261
  100. package/build-module/components/visual-editor/index.js.map +1 -1
  101. package/build-module/components/welcome-guide/index.js +6 -3
  102. package/build-module/components/welcome-guide/index.js.map +1 -1
  103. package/build-module/editor.js +20 -30
  104. package/build-module/editor.js.map +1 -1
  105. package/build-module/editor.native.js +3 -11
  106. package/build-module/editor.native.js.map +1 -1
  107. package/build-module/hooks/commands/use-common-commands.js +16 -12
  108. package/build-module/hooks/commands/use-common-commands.js.map +1 -1
  109. package/build-module/hooks/use-post-history.js +73 -0
  110. package/build-module/hooks/use-post-history.js.map +1 -0
  111. package/build-module/index.js +19 -12
  112. package/build-module/index.js.map +1 -1
  113. package/build-module/index.native.js +7 -1
  114. package/build-module/index.native.js.map +1 -1
  115. package/build-module/plugins/welcome-guide-menu-item/index.js +2 -6
  116. package/build-module/plugins/welcome-guide-menu-item/index.js.map +1 -1
  117. package/build-module/store/actions.js +86 -105
  118. package/build-module/store/actions.js.map +1 -1
  119. package/build-module/store/reducer.js +1 -92
  120. package/build-module/store/reducer.js.map +1 -1
  121. package/build-module/store/selectors.js +76 -38
  122. package/build-module/store/selectors.js.map +1 -1
  123. package/build-style/style-rtl.css +65 -473
  124. package/build-style/style.css +65 -473
  125. package/package.json +32 -32
  126. package/src/components/browser-url/index.js +4 -2
  127. package/src/components/header/index.js +45 -46
  128. package/src/components/header/mode-switcher/index.js +2 -1
  129. package/src/components/header/more-menu/index.js +1 -0
  130. package/src/components/header/style.scss +63 -37
  131. package/src/components/header/writing-menu/index.js +24 -24
  132. package/src/components/keyboard-shortcut-help-modal/test/index.js +0 -15
  133. package/src/components/keyboard-shortcuts/index.js +1 -23
  134. package/src/components/layout/index.js +31 -39
  135. package/src/components/layout/index.native.js +9 -1
  136. package/src/components/meta-boxes/meta-box-visibility.js +2 -8
  137. package/src/components/preferences-modal/index.js +128 -97
  138. package/src/components/preferences-modal/options/enable-feature.js +26 -21
  139. package/src/components/preferences-modal/options/enable-panel.js +3 -7
  140. package/src/components/preferences-modal/test/__snapshots__/meta-boxes-section.js.snap +187 -175
  141. package/src/components/preferences-modal/test/index.js +1 -52
  142. package/src/components/sidebar/plugin-document-setting-panel/index.js +3 -3
  143. package/src/components/sidebar/plugin-sidebar/index.js +1 -9
  144. package/src/components/sidebar/post-status/index.js +5 -5
  145. package/src/components/sidebar/settings-header/index.js +19 -71
  146. package/src/components/sidebar/settings-sidebar/index.js +125 -60
  147. package/src/components/sidebar/style.scss +4 -12
  148. package/src/components/start-page-options/index.js +3 -3
  149. package/src/components/text-editor/style.scss +0 -6
  150. package/src/components/visual-editor/index.js +26 -359
  151. package/src/components/visual-editor/style.scss +0 -15
  152. package/src/components/welcome-guide/index.js +4 -2
  153. package/src/editor.js +36 -35
  154. package/src/editor.native.js +2 -23
  155. package/src/hooks/commands/use-common-commands.js +14 -16
  156. package/src/hooks/use-post-history.js +73 -0
  157. package/src/index.js +24 -13
  158. package/src/index.native.js +8 -1
  159. package/src/plugins/welcome-guide-menu-item/index.js +3 -6
  160. package/src/store/actions.js +80 -131
  161. package/src/store/reducer.js +0 -93
  162. package/src/store/selectors.js +97 -55
  163. package/src/store/test/actions.js +10 -131
  164. package/src/store/test/reducer.js +1 -108
  165. package/src/store/test/selectors.js +0 -50
  166. package/src/style.scss +1 -8
  167. package/src/test/__snapshots__/editor.native.js.snap +21 -0
  168. package/src/test/editor.native.js +107 -56
  169. package/build/components/device-preview/index.js +0 -72
  170. package/build/components/device-preview/index.js.map +0 -1
  171. package/build/components/header/document-actions/index.js +0 -82
  172. package/build/components/header/document-actions/index.js.map +0 -1
  173. package/build/components/header/header-toolbar/index.js +0 -156
  174. package/build/components/header/header-toolbar/index.js.map +0 -1
  175. package/build/components/secondary-sidebar/inserter-sidebar.js +0 -73
  176. package/build/components/secondary-sidebar/inserter-sidebar.js.map +0 -1
  177. package/build/components/secondary-sidebar/list-view-outline.js +0 -112
  178. package/build/components/secondary-sidebar/list-view-outline.js.map +0 -1
  179. package/build/components/secondary-sidebar/list-view-sidebar.js +0 -148
  180. package/build/components/secondary-sidebar/list-view-sidebar.js.map +0 -1
  181. package/build/components/sidebar/discussion-panel/index.js +0 -59
  182. package/build/components/sidebar/discussion-panel/index.js.map +0 -1
  183. package/build/components/sidebar/featured-image/index.js +0 -70
  184. package/build/components/sidebar/featured-image/index.js.map +0 -1
  185. package/build/components/sidebar/last-revision/index.js +0 -21
  186. package/build/components/sidebar/last-revision/index.js.map +0 -1
  187. package/build/components/sidebar/page-attributes/index.js +0 -65
  188. package/build/components/sidebar/page-attributes/index.js.map +0 -1
  189. package/build/components/sidebar/plugin-post-excerpt/index.js +0 -72
  190. package/build/components/sidebar/plugin-post-excerpt/index.js.map +0 -1
  191. package/build/components/sidebar/post-excerpt/index.js +0 -54
  192. package/build/components/sidebar/post-excerpt/index.js.map +0 -1
  193. package/build/components/sidebar/post-taxonomies/index.js +0 -30
  194. package/build/components/sidebar/post-taxonomies/index.js.map +0 -1
  195. package/build/components/sidebar/post-taxonomies/taxonomy-panel.js +0 -56
  196. package/build/components/sidebar/post-taxonomies/taxonomy-panel.js.map +0 -1
  197. package/build/components/sidebar/post-template/create-modal.js +0 -99
  198. package/build/components/sidebar/post-template/create-modal.js.map +0 -1
  199. package/build/components/sidebar/post-template/form.js +0 -110
  200. package/build/components/sidebar/post-template/form.js.map +0 -1
  201. package/build/components/sidebar/post-template/index.js +0 -106
  202. package/build/components/sidebar/post-template/index.js.map +0 -1
  203. package/build/components/view-link/index.js +0 -53
  204. package/build/components/view-link/index.js.map +0 -1
  205. package/build-module/components/device-preview/index.js +0 -65
  206. package/build-module/components/device-preview/index.js.map +0 -1
  207. package/build-module/components/header/document-actions/index.js +0 -74
  208. package/build-module/components/header/document-actions/index.js.map +0 -1
  209. package/build-module/components/header/header-toolbar/index.js +0 -148
  210. package/build-module/components/header/header-toolbar/index.js.map +0 -1
  211. package/build-module/components/secondary-sidebar/inserter-sidebar.js +0 -66
  212. package/build-module/components/secondary-sidebar/inserter-sidebar.js.map +0 -1
  213. package/build-module/components/secondary-sidebar/list-view-outline.js +0 -105
  214. package/build-module/components/secondary-sidebar/list-view-outline.js.map +0 -1
  215. package/build-module/components/secondary-sidebar/list-view-sidebar.js +0 -140
  216. package/build-module/components/secondary-sidebar/list-view-sidebar.js.map +0 -1
  217. package/build-module/components/sidebar/discussion-panel/index.js +0 -52
  218. package/build-module/components/sidebar/discussion-panel/index.js.map +0 -1
  219. package/build-module/components/sidebar/featured-image/index.js +0 -63
  220. package/build-module/components/sidebar/featured-image/index.js.map +0 -1
  221. package/build-module/components/sidebar/last-revision/index.js +0 -13
  222. package/build-module/components/sidebar/last-revision/index.js.map +0 -1
  223. package/build-module/components/sidebar/page-attributes/index.js +0 -57
  224. package/build-module/components/sidebar/page-attributes/index.js.map +0 -1
  225. package/build-module/components/sidebar/plugin-post-excerpt/index.js +0 -64
  226. package/build-module/components/sidebar/plugin-post-excerpt/index.js.map +0 -1
  227. package/build-module/components/sidebar/post-excerpt/index.js +0 -47
  228. package/build-module/components/sidebar/post-excerpt/index.js.map +0 -1
  229. package/build-module/components/sidebar/post-taxonomies/index.js +0 -21
  230. package/build-module/components/sidebar/post-taxonomies/index.js.map +0 -1
  231. package/build-module/components/sidebar/post-taxonomies/taxonomy-panel.js +0 -48
  232. package/build-module/components/sidebar/post-taxonomies/taxonomy-panel.js.map +0 -1
  233. package/build-module/components/sidebar/post-template/create-modal.js +0 -92
  234. package/build-module/components/sidebar/post-template/create-modal.js.map +0 -1
  235. package/build-module/components/sidebar/post-template/form.js +0 -102
  236. package/build-module/components/sidebar/post-template/form.js.map +0 -1
  237. package/build-module/components/sidebar/post-template/index.js +0 -98
  238. package/build-module/components/sidebar/post-template/index.js.map +0 -1
  239. package/build-module/components/view-link/index.js +0 -46
  240. package/build-module/components/view-link/index.js.map +0 -1
  241. package/src/components/device-preview/index.js +0 -73
  242. package/src/components/header/document-actions/index.js +0 -82
  243. package/src/components/header/document-actions/style.scss +0 -64
  244. package/src/components/header/header-toolbar/index.js +0 -182
  245. package/src/components/header/header-toolbar/style.scss +0 -114
  246. package/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap +0 -929
  247. package/src/components/secondary-sidebar/inserter-sidebar.js +0 -71
  248. package/src/components/secondary-sidebar/list-view-outline.js +0 -98
  249. package/src/components/secondary-sidebar/list-view-sidebar.js +0 -170
  250. package/src/components/secondary-sidebar/style.scss +0 -120
  251. package/src/components/sidebar/discussion-panel/index.js +0 -62
  252. package/src/components/sidebar/featured-image/index.js +0 -67
  253. package/src/components/sidebar/last-revision/index.js +0 -17
  254. package/src/components/sidebar/last-revision/style.scss +0 -10
  255. package/src/components/sidebar/page-attributes/index.js +0 -65
  256. package/src/components/sidebar/plugin-post-excerpt/index.js +0 -61
  257. package/src/components/sidebar/plugin-post-excerpt/test/index.js +0 -36
  258. package/src/components/sidebar/post-excerpt/index.js +0 -59
  259. package/src/components/sidebar/post-taxonomies/index.js +0 -30
  260. package/src/components/sidebar/post-taxonomies/taxonomy-panel.js +0 -48
  261. package/src/components/sidebar/post-template/create-modal.js +0 -140
  262. package/src/components/sidebar/post-template/form.js +0 -141
  263. package/src/components/sidebar/post-template/index.js +0 -120
  264. package/src/components/sidebar/post-template/style.scss +0 -22
  265. package/src/components/sidebar/settings-header/style.scss +0 -74
  266. package/src/components/sidebar/template/style.scss +0 -35
  267. package/src/components/view-link/index.js +0 -48
@@ -1,929 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`KeyboardShortcutHelpModal should match snapshot when the modal is active 1`] = `
4
- <div
5
- aria-labelledby="components-modal-header-0"
6
- class="components-modal__frame edit-post-keyboard-shortcut-help-modal"
7
- role="dialog"
8
- tabindex="-1"
9
- >
10
- <div
11
- class="components-modal__content"
12
- role="document"
13
- >
14
- <div
15
- class="components-modal__header"
16
- >
17
- <div
18
- class="components-modal__header-heading-container"
19
- >
20
- <h1
21
- class="components-modal__header-heading"
22
- id="components-modal-header-0"
23
- >
24
- Keyboard shortcuts
25
- </h1>
26
- </div>
27
- <button
28
- aria-label="Close"
29
- class="components-button has-icon"
30
- type="button"
31
- >
32
- <svg
33
- aria-hidden="true"
34
- focusable="false"
35
- height="24"
36
- viewBox="0 0 24 24"
37
- width="24"
38
- xmlns="http://www.w3.org/2000/svg"
39
- >
40
- <path
41
- d="M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"
42
- />
43
- </svg>
44
- </button>
45
- </div>
46
- <div>
47
- <section
48
- class="edit-post-keyboard-shortcut-help-modal__section edit-post-keyboard-shortcut-help-modal__main-shortcuts"
49
- >
50
- <ul
51
- class="edit-post-keyboard-shortcut-help-modal__shortcut-list"
52
- role="list"
53
- >
54
- <li
55
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
56
- />
57
- </ul>
58
- </section>
59
- <section
60
- class="edit-post-keyboard-shortcut-help-modal__section"
61
- >
62
- <h2
63
- class="edit-post-keyboard-shortcut-help-modal__section-title"
64
- >
65
- Global shortcuts
66
- </h2>
67
- <ul
68
- class="edit-post-keyboard-shortcut-help-modal__shortcut-list"
69
- role="list"
70
- >
71
- <li
72
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
73
- >
74
- <div
75
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
76
- >
77
- Navigate to the nearest toolbar.
78
- </div>
79
- <div
80
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
81
- >
82
- <kbd
83
- aria-label="Alt + F10"
84
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
85
- >
86
- <kbd
87
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
88
- >
89
- Alt
90
- </kbd>
91
- +
92
- <kbd
93
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
94
- >
95
- F10
96
- </kbd>
97
- </kbd>
98
- </div>
99
- </li>
100
- <li
101
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
102
- >
103
- <div
104
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
105
- >
106
- Save your changes.
107
- </div>
108
- <div
109
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
110
- >
111
- <kbd
112
- aria-label="Control + S"
113
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
114
- >
115
- <kbd
116
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
117
- >
118
- Ctrl
119
- </kbd>
120
- +
121
- <kbd
122
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
123
- >
124
- S
125
- </kbd>
126
- </kbd>
127
- </div>
128
- </li>
129
- <li
130
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
131
- >
132
- <div
133
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
134
- >
135
- Undo your last changes.
136
- </div>
137
- <div
138
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
139
- >
140
- <kbd
141
- aria-label="Control + Z"
142
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
143
- >
144
- <kbd
145
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
146
- >
147
- Ctrl
148
- </kbd>
149
- +
150
- <kbd
151
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
152
- >
153
- Z
154
- </kbd>
155
- </kbd>
156
- </div>
157
- </li>
158
- <li
159
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
160
- >
161
- <div
162
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
163
- >
164
- Redo your last undo.
165
- </div>
166
- <div
167
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
168
- >
169
- <kbd
170
- aria-label="Control + Shift + Z"
171
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
172
- >
173
- <kbd
174
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
175
- >
176
- Ctrl
177
- </kbd>
178
- +
179
- <kbd
180
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
181
- >
182
- Shift
183
- </kbd>
184
- +
185
- <kbd
186
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
187
- >
188
- Z
189
- </kbd>
190
- </kbd>
191
- <kbd
192
- aria-label="Control + Y"
193
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
194
- >
195
- <kbd
196
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
197
- >
198
- Ctrl
199
- </kbd>
200
- +
201
- <kbd
202
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
203
- >
204
- Y
205
- </kbd>
206
- </kbd>
207
- </div>
208
- </li>
209
- </ul>
210
- </section>
211
- <section
212
- class="edit-post-keyboard-shortcut-help-modal__section"
213
- >
214
- <h2
215
- class="edit-post-keyboard-shortcut-help-modal__section-title"
216
- >
217
- Selection shortcuts
218
- </h2>
219
- <ul
220
- class="edit-post-keyboard-shortcut-help-modal__shortcut-list"
221
- role="list"
222
- >
223
- <li
224
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
225
- >
226
- <div
227
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
228
- >
229
- Select all text when typing. Press again to select all blocks.
230
- </div>
231
- <div
232
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
233
- >
234
- <kbd
235
- aria-label="Control + A"
236
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
237
- >
238
- <kbd
239
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
240
- >
241
- Ctrl
242
- </kbd>
243
- +
244
- <kbd
245
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
246
- >
247
- A
248
- </kbd>
249
- </kbd>
250
- </div>
251
- </li>
252
- <li
253
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
254
- >
255
- <div
256
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
257
- >
258
- Clear selection.
259
- </div>
260
- <div
261
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
262
- >
263
- <kbd
264
- aria-label="escape"
265
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
266
- >
267
- <kbd
268
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
269
- >
270
- escape
271
- </kbd>
272
- </kbd>
273
- </div>
274
- </li>
275
- <li
276
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
277
- >
278
- <div
279
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
280
- >
281
- Select text across multiple blocks.
282
- </div>
283
- <div
284
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
285
- >
286
- <kbd
287
- aria-label="Shift + Arrow"
288
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
289
- >
290
- <kbd
291
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
292
- >
293
- Shift
294
- </kbd>
295
- +
296
- <kbd
297
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
298
- >
299
- Arrow
300
- </kbd>
301
- </kbd>
302
- </div>
303
- </li>
304
- </ul>
305
- </section>
306
- <section
307
- class="edit-post-keyboard-shortcut-help-modal__section"
308
- >
309
- <h2
310
- class="edit-post-keyboard-shortcut-help-modal__section-title"
311
- >
312
- Block shortcuts
313
- </h2>
314
- <ul
315
- class="edit-post-keyboard-shortcut-help-modal__shortcut-list"
316
- role="list"
317
- >
318
- <li
319
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
320
- >
321
- <div
322
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
323
- >
324
- Duplicate the selected block(s).
325
- </div>
326
- <div
327
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
328
- >
329
- <kbd
330
- aria-label="Control + Shift + D"
331
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
332
- >
333
- <kbd
334
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
335
- >
336
- Ctrl
337
- </kbd>
338
- +
339
- <kbd
340
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
341
- >
342
- Shift
343
- </kbd>
344
- +
345
- <kbd
346
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
347
- >
348
- D
349
- </kbd>
350
- </kbd>
351
- </div>
352
- </li>
353
- <li
354
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
355
- >
356
- <div
357
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
358
- >
359
- Remove the selected block(s).
360
- </div>
361
- <div
362
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
363
- >
364
- <kbd
365
- aria-label="Shift + Alt + Z"
366
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
367
- >
368
- <kbd
369
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
370
- >
371
- Shift
372
- </kbd>
373
- +
374
- <kbd
375
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
376
- >
377
- Alt
378
- </kbd>
379
- +
380
- <kbd
381
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
382
- >
383
- Z
384
- </kbd>
385
- </kbd>
386
- </div>
387
- </li>
388
- <li
389
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
390
- >
391
- <div
392
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
393
- >
394
- Insert a new block before the selected block(s).
395
- </div>
396
- <div
397
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
398
- >
399
- <kbd
400
- aria-label="Control + Alt + T"
401
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
402
- >
403
- <kbd
404
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
405
- >
406
- Ctrl
407
- </kbd>
408
- +
409
- <kbd
410
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
411
- >
412
- Alt
413
- </kbd>
414
- +
415
- <kbd
416
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
417
- >
418
- T
419
- </kbd>
420
- </kbd>
421
- </div>
422
- </li>
423
- <li
424
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
425
- >
426
- <div
427
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
428
- >
429
- Insert a new block after the selected block(s).
430
- </div>
431
- <div
432
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
433
- >
434
- <kbd
435
- aria-label="Control + Alt + Y"
436
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
437
- >
438
- <kbd
439
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
440
- >
441
- Ctrl
442
- </kbd>
443
- +
444
- <kbd
445
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
446
- >
447
- Alt
448
- </kbd>
449
- +
450
- <kbd
451
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
452
- >
453
- Y
454
- </kbd>
455
- </kbd>
456
- </div>
457
- </li>
458
- <li
459
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
460
- >
461
- <div
462
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
463
- >
464
- Delete selection.
465
- </div>
466
- <div
467
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
468
- >
469
- <kbd
470
- aria-label="del"
471
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
472
- >
473
- <kbd
474
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
475
- >
476
- del
477
- </kbd>
478
- </kbd>
479
- <kbd
480
- aria-label="backspace"
481
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
482
- >
483
- <kbd
484
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
485
- >
486
- backspace
487
- </kbd>
488
- </kbd>
489
- </div>
490
- </li>
491
- <li
492
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
493
- >
494
- <div
495
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
496
- >
497
- Move the selected block(s) up.
498
- </div>
499
- <div
500
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
501
- >
502
- <kbd
503
- aria-label="Control + Shift + Alt + T"
504
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
505
- >
506
- <kbd
507
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
508
- >
509
- Ctrl
510
- </kbd>
511
- +
512
- <kbd
513
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
514
- >
515
- Shift
516
- </kbd>
517
- +
518
- <kbd
519
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
520
- >
521
- Alt
522
- </kbd>
523
- +
524
- <kbd
525
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
526
- >
527
- T
528
- </kbd>
529
- </kbd>
530
- </div>
531
- </li>
532
- <li
533
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
534
- >
535
- <div
536
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
537
- >
538
- Move the selected block(s) down.
539
- </div>
540
- <div
541
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
542
- >
543
- <kbd
544
- aria-label="Control + Shift + Alt + Y"
545
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
546
- >
547
- <kbd
548
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
549
- >
550
- Ctrl
551
- </kbd>
552
- +
553
- <kbd
554
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
555
- >
556
- Shift
557
- </kbd>
558
- +
559
- <kbd
560
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
561
- >
562
- Alt
563
- </kbd>
564
- +
565
- <kbd
566
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
567
- >
568
- Y
569
- </kbd>
570
- </kbd>
571
- </div>
572
- </li>
573
- <li
574
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
575
- >
576
- <div
577
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
578
- >
579
- Change the block type after adding a new paragraph.
580
- </div>
581
- <div
582
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
583
- >
584
- <kbd
585
- aria-label="Forward-slash"
586
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
587
- >
588
- <kbd
589
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
590
- >
591
- /
592
- </kbd>
593
- </kbd>
594
- </div>
595
- </li>
596
- </ul>
597
- </section>
598
- <section
599
- class="edit-post-keyboard-shortcut-help-modal__section"
600
- >
601
- <h2
602
- class="edit-post-keyboard-shortcut-help-modal__section-title"
603
- >
604
- Text formatting
605
- </h2>
606
- <ul
607
- class="edit-post-keyboard-shortcut-help-modal__shortcut-list"
608
- role="list"
609
- >
610
- <li
611
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
612
- >
613
- <div
614
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
615
- >
616
- Make the selected text bold.
617
- </div>
618
- <div
619
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
620
- >
621
- <kbd
622
- aria-label="Control + B"
623
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
624
- >
625
- <kbd
626
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
627
- >
628
- Ctrl
629
- </kbd>
630
- +
631
- <kbd
632
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
633
- >
634
- B
635
- </kbd>
636
- </kbd>
637
- </div>
638
- </li>
639
- <li
640
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
641
- >
642
- <div
643
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
644
- >
645
- Make the selected text italic.
646
- </div>
647
- <div
648
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
649
- >
650
- <kbd
651
- aria-label="Control + I"
652
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
653
- >
654
- <kbd
655
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
656
- >
657
- Ctrl
658
- </kbd>
659
- +
660
- <kbd
661
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
662
- >
663
- I
664
- </kbd>
665
- </kbd>
666
- </div>
667
- </li>
668
- <li
669
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
670
- >
671
- <div
672
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
673
- >
674
- Convert the selected text into a link.
675
- </div>
676
- <div
677
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
678
- >
679
- <kbd
680
- aria-label="Control + K"
681
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
682
- >
683
- <kbd
684
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
685
- >
686
- Ctrl
687
- </kbd>
688
- +
689
- <kbd
690
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
691
- >
692
- K
693
- </kbd>
694
- </kbd>
695
- </div>
696
- </li>
697
- <li
698
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
699
- >
700
- <div
701
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
702
- >
703
- Remove a link.
704
- </div>
705
- <div
706
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
707
- >
708
- <kbd
709
- aria-label="Control + Shift + K"
710
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
711
- >
712
- <kbd
713
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
714
- >
715
- Ctrl
716
- </kbd>
717
- +
718
- <kbd
719
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
720
- >
721
- Shift
722
- </kbd>
723
- +
724
- <kbd
725
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
726
- >
727
- K
728
- </kbd>
729
- </kbd>
730
- </div>
731
- </li>
732
- <li
733
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
734
- >
735
- <div
736
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
737
- >
738
- Insert a link to a post or page.
739
- </div>
740
- <div
741
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
742
- >
743
- <kbd
744
- aria-label="[["
745
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
746
- >
747
- <kbd
748
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
749
- >
750
- [[
751
- </kbd>
752
- </kbd>
753
- </div>
754
- </li>
755
- <li
756
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
757
- >
758
- <div
759
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
760
- >
761
- Underline the selected text.
762
- </div>
763
- <div
764
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
765
- >
766
- <kbd
767
- aria-label="Control + U"
768
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
769
- >
770
- <kbd
771
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
772
- >
773
- Ctrl
774
- </kbd>
775
- +
776
- <kbd
777
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
778
- >
779
- U
780
- </kbd>
781
- </kbd>
782
- </div>
783
- </li>
784
- <li
785
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
786
- >
787
- <div
788
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
789
- >
790
- Strikethrough the selected text.
791
- </div>
792
- <div
793
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
794
- >
795
- <kbd
796
- aria-label="Shift + Alt + D"
797
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
798
- >
799
- <kbd
800
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
801
- >
802
- Shift
803
- </kbd>
804
- +
805
- <kbd
806
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
807
- >
808
- Alt
809
- </kbd>
810
- +
811
- <kbd
812
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
813
- >
814
- D
815
- </kbd>
816
- </kbd>
817
- </div>
818
- </li>
819
- <li
820
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
821
- >
822
- <div
823
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
824
- >
825
- Make the selected text inline code.
826
- </div>
827
- <div
828
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
829
- >
830
- <kbd
831
- aria-label="Shift + Alt + X"
832
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
833
- >
834
- <kbd
835
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
836
- >
837
- Shift
838
- </kbd>
839
- +
840
- <kbd
841
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
842
- >
843
- Alt
844
- </kbd>
845
- +
846
- <kbd
847
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
848
- >
849
- X
850
- </kbd>
851
- </kbd>
852
- </div>
853
- </li>
854
- <li
855
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
856
- >
857
- <div
858
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
859
- >
860
- Convert the current heading to a paragraph.
861
- </div>
862
- <div
863
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
864
- >
865
- <kbd
866
- aria-label="Shift + Alt + 0"
867
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
868
- >
869
- <kbd
870
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
871
- >
872
- Shift
873
- </kbd>
874
- +
875
- <kbd
876
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
877
- >
878
- Alt
879
- </kbd>
880
- +
881
- <kbd
882
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
883
- >
884
- 0
885
- </kbd>
886
- </kbd>
887
- </div>
888
- </li>
889
- <li
890
- class="edit-post-keyboard-shortcut-help-modal__shortcut"
891
- >
892
- <div
893
- class="edit-post-keyboard-shortcut-help-modal__shortcut-description"
894
- >
895
- Convert the current paragraph or heading to a heading of level 1 to 6.
896
- </div>
897
- <div
898
- class="edit-post-keyboard-shortcut-help-modal__shortcut-term"
899
- >
900
- <kbd
901
- aria-label="Shift + Alt + 1 6"
902
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key-combination"
903
- >
904
- <kbd
905
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
906
- >
907
- Shift
908
- </kbd>
909
- +
910
- <kbd
911
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
912
- >
913
- Alt
914
- </kbd>
915
- +
916
- <kbd
917
- class="edit-post-keyboard-shortcut-help-modal__shortcut-key"
918
- >
919
- 1-6
920
- </kbd>
921
- </kbd>
922
- </div>
923
- </li>
924
- </ul>
925
- </section>
926
- </div>
927
- </div>
928
- </div>
929
- `;