@fileverse-dev/ddoc 2.0.3-patch-5 → 2.0.3-patch-6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.es.js +8 -8
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -76865,10 +76865,10 @@ const hHe = ({
76865
76865
  isActive: () => t.isActive("blockquote")
76866
76866
  },
76867
76867
  {
76868
- name: "Code",
76869
- icon: "Code",
76870
- command: () => t.chain().focus().toggleCode().run(),
76871
- isActive: () => t.isActive("code")
76868
+ name: "Code Block",
76869
+ icon: "Braces",
76870
+ command: () => t.chain().focus().toggleCodeBlock().run(),
76871
+ isActive: () => t.isActive("codeBlock")
76872
76872
  }
76873
76873
  ], r = n.filter((i) => i.isActive()).pop() ?? {
76874
76874
  name: "Multiple"
@@ -79646,10 +79646,10 @@ const F3 = [
79646
79646
  icon: "AlignLeft"
79647
79647
  },
79648
79648
  {
79649
- name: "Code Block",
79650
- isActive: () => t.editor.isActive("codeBlock"),
79651
- command: () => t.editor.chain().focus().toggleCodeBlock().run(),
79652
- icon: "Braces"
79649
+ name: "Code",
79650
+ isActive: () => t.editor.isActive("code"),
79651
+ command: () => t.editor.chain().focus().toggleCode().run(),
79652
+ icon: "Code"
79653
79653
  },
79654
79654
  {
79655
79655
  name: "Link",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "2.0.3-patch-5",
5
+ "version": "2.0.3-patch-6",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {