@gravity-ui/markdown-editor 14.10.3 → 14.10.5
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.
|
@@ -177,7 +177,7 @@ exports.commonmark = {
|
|
|
177
177
|
exports.defaultPreset = {
|
|
178
178
|
items: Object.assign(Object.assign({}, exports.commonmark.items), { [action_names_1.ActionName.strike]: {
|
|
179
179
|
view: items_1.strikethroughItemView,
|
|
180
|
-
wysiwyg: items_1.
|
|
180
|
+
wysiwyg: items_1.strikethroughItemWysiwyg,
|
|
181
181
|
markup: items_1.strikethroughItemMarkup,
|
|
182
182
|
} }),
|
|
183
183
|
orders: {
|
|
@@ -289,9 +289,9 @@ exports.yfm = {
|
|
|
289
289
|
wysiwyg: items_1.checkboxItemWysiwyg,
|
|
290
290
|
markup: items_1.checkboxItemMarkup,
|
|
291
291
|
}, [action_names_1.ActionName.tabs]: {
|
|
292
|
-
view: items_1.
|
|
293
|
-
wysiwyg: items_1.
|
|
294
|
-
markup: items_1.
|
|
292
|
+
view: items_1.tabsItemView,
|
|
293
|
+
wysiwyg: items_1.tabsItemWysiwyg,
|
|
294
|
+
markup: items_1.tabsItemMarkup,
|
|
295
295
|
} }),
|
|
296
296
|
orders: {
|
|
297
297
|
[constants_1.ToolbarName.wysiwygMain]: [
|
package/build/cjs/version.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
/** During build process, the current version will be injected here */
|
|
5
|
-
exports.VERSION = typeof '14.10.
|
|
5
|
+
exports.VERSION = typeof '14.10.5' !== 'undefined' ? '14.10.5' : 'unknown';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionName as Action } from '../../bundle/config/action-names';
|
|
2
2
|
import { ListName as List, ToolbarName as Toolbar } from './constants';
|
|
3
|
-
import { boldItemMarkup, boldItemView, boldItemWysiwyg, bulletListItemMarkup, bulletListItemView, bulletListItemWysiwyg, checkboxItemMarkup, checkboxItemView, checkboxItemWysiwyg, codeBlockItemMarkup, codeBlockItemView, codeBlockItemWysiwyg, codeBlocksListItemView, codeItemMarkup, codeItemView, codeItemWysiwyg, colorifyItemMarkup, colorifyItemView, colorifyItemWysiwyg, cutItemMarkup, cutItemView, cutItemWysiwyg, emojiItemMarkup, emojiItemView, emojiItemWysiwyg, fileItemMarkup, fileItemView, fileItemWysiwyg, filePopupItemView, heading1ItemMarkup, heading1ItemView, heading1ItemWysiwyg, heading2ItemMarkup, heading2ItemView, heading2ItemWysiwyg, heading3ItemMarkup, heading3ItemView, heading3ItemWysiwyg, heading4ItemMarkup, heading4ItemView, heading4ItemWysiwyg, heading5ItemMarkup, heading5ItemView, heading5ItemWysiwyg, heading6ItemMarkup, heading6ItemView, heading6ItemWysiwyg, headingListItemView, hruleItemMarkup, hruleItemView, hruleItemWysiwyg, imageItemMarkup, imageItemView, imageItemWysiwyg, imagePopupItemView, italicItemMarkup, italicItemView, italicItemWysiwyg, liftListItemMarkup, liftListItemView, liftListItemWysiwyg, linkItemMarkup, linkItemView, linkItemWysiwyg, listsListItemView, markedItemMarkup, markedItemView, markedItemWysiwyg, monospaceItemMarkup, monospaceItemView, monospaceItemWysiwyg, noteItemMarkup, noteItemView, noteItemWysiwyg, orderedListItemMarkup, orderedListItemView, orderedListItemWysiwyg, paragraphItemMarkup, paragraphItemView, paragraphItemWisywig, quoteItemMarkup, quoteItemView, quoteItemWysiwyg, redoItemMarkup, redoItemView, redoItemWysiwyg, sinkListItemMarkup, sinkListItemView, sinkListItemWysiwyg, strikethroughItemMarkup, strikethroughItemView, tableItemMarkup, tableItemView, tableItemWysiwyg, underlineItemMarkup, underlineItemView, underlineItemWysiwyg, undoItemMarkup, undoItemView, undoItemWysiwyg, } from './items';
|
|
3
|
+
import { boldItemMarkup, boldItemView, boldItemWysiwyg, bulletListItemMarkup, bulletListItemView, bulletListItemWysiwyg, checkboxItemMarkup, checkboxItemView, checkboxItemWysiwyg, codeBlockItemMarkup, codeBlockItemView, codeBlockItemWysiwyg, codeBlocksListItemView, codeItemMarkup, codeItemView, codeItemWysiwyg, colorifyItemMarkup, colorifyItemView, colorifyItemWysiwyg, cutItemMarkup, cutItemView, cutItemWysiwyg, emojiItemMarkup, emojiItemView, emojiItemWysiwyg, fileItemMarkup, fileItemView, fileItemWysiwyg, filePopupItemView, heading1ItemMarkup, heading1ItemView, heading1ItemWysiwyg, heading2ItemMarkup, heading2ItemView, heading2ItemWysiwyg, heading3ItemMarkup, heading3ItemView, heading3ItemWysiwyg, heading4ItemMarkup, heading4ItemView, heading4ItemWysiwyg, heading5ItemMarkup, heading5ItemView, heading5ItemWysiwyg, heading6ItemMarkup, heading6ItemView, heading6ItemWysiwyg, headingListItemView, hruleItemMarkup, hruleItemView, hruleItemWysiwyg, imageItemMarkup, imageItemView, imageItemWysiwyg, imagePopupItemView, italicItemMarkup, italicItemView, italicItemWysiwyg, liftListItemMarkup, liftListItemView, liftListItemWysiwyg, linkItemMarkup, linkItemView, linkItemWysiwyg, listsListItemView, markedItemMarkup, markedItemView, markedItemWysiwyg, monospaceItemMarkup, monospaceItemView, monospaceItemWysiwyg, noteItemMarkup, noteItemView, noteItemWysiwyg, orderedListItemMarkup, orderedListItemView, orderedListItemWysiwyg, paragraphItemMarkup, paragraphItemView, paragraphItemWisywig, quoteItemMarkup, quoteItemView, quoteItemWysiwyg, redoItemMarkup, redoItemView, redoItemWysiwyg, sinkListItemMarkup, sinkListItemView, sinkListItemWysiwyg, strikethroughItemMarkup, strikethroughItemView, strikethroughItemWysiwyg, tableItemMarkup, tableItemView, tableItemWysiwyg, tabsItemMarkup, tabsItemView, tabsItemWysiwyg, underlineItemMarkup, underlineItemView, underlineItemWysiwyg, undoItemMarkup, undoItemView, undoItemWysiwyg, } from './items';
|
|
4
4
|
// presets
|
|
5
5
|
export const zero = {
|
|
6
6
|
items: {
|
|
@@ -174,7 +174,7 @@ export const commonmark = {
|
|
|
174
174
|
export const defaultPreset = {
|
|
175
175
|
items: Object.assign(Object.assign({}, commonmark.items), { [Action.strike]: {
|
|
176
176
|
view: strikethroughItemView,
|
|
177
|
-
wysiwyg:
|
|
177
|
+
wysiwyg: strikethroughItemWysiwyg,
|
|
178
178
|
markup: strikethroughItemMarkup,
|
|
179
179
|
} }),
|
|
180
180
|
orders: {
|
|
@@ -286,9 +286,9 @@ export const yfm = {
|
|
|
286
286
|
wysiwyg: checkboxItemWysiwyg,
|
|
287
287
|
markup: checkboxItemMarkup,
|
|
288
288
|
}, [Action.tabs]: {
|
|
289
|
-
view:
|
|
290
|
-
wysiwyg:
|
|
291
|
-
markup:
|
|
289
|
+
view: tabsItemView,
|
|
290
|
+
wysiwyg: tabsItemWysiwyg,
|
|
291
|
+
markup: tabsItemMarkup,
|
|
292
292
|
} }),
|
|
293
293
|
orders: {
|
|
294
294
|
[Toolbar.wysiwygMain]: [
|
package/build/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** During build process, the current version will be injected here */
|
|
2
|
-
export const VERSION = typeof '14.10.
|
|
2
|
+
export const VERSION = typeof '14.10.5' !== 'undefined' ? '14.10.5' : 'unknown';
|