Skip to content
Snippets Groups Projects
Commit d990256b authored by Christos's avatar Christos
Browse files

Merge branch 'feature-improvments' into 'master'

Feature improvments

See merge request !242
parents 0c7c0685 a75d4ce8
No related branches found
No related tags found
1 merge request!242Feature improvments
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"version": "0.0.31", "version": "0.0.31",
"description": "Wax prosemirror UI components", "description": "Wax prosemirror UI components",
"license": "MIT", "license": "MIT",
"main": "dist/index.js", "main": "index.js",
"files": [ "files": [
"dist" "dist"
], ],
......
...@@ -142,7 +142,7 @@ const CustomTagInlineOverlayComponent = ({ mark, setPosition, position }) => { ...@@ -142,7 +142,7 @@ const CustomTagInlineOverlayComponent = ({ mark, setPosition, position }) => {
state.schema.marks.customTagInline.create({ state.schema.marks.customTagInline.create({
...((mark && mark.attrs) || {}), ...((mark && mark.attrs) || {}),
tags, tags,
class: tags.toString(), class: tags.toString().replace(/ /g, '-'),
}), }),
), ),
); );
...@@ -169,7 +169,7 @@ const CustomTagInlineOverlayComponent = ({ mark, setPosition, position }) => { ...@@ -169,7 +169,7 @@ const CustomTagInlineOverlayComponent = ({ mark, setPosition, position }) => {
state.schema.marks.customTagInline.create({ state.schema.marks.customTagInline.create({
...((mark && mark.attrs) || {}), ...((mark && mark.attrs) || {}),
tags, tags,
class: tags.toString(), class: tags.toString().replace(/ /g, '-'),
}), }),
), ),
); );
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"version": "0.0.31", "version": "0.0.31",
"description": "Wax prosemirror core", "description": "Wax prosemirror core",
"license": "MIT", "license": "MIT",
"main": "dist/index.js", "main": "index.js",
"files": [ "files": [
"dist" "dist"
], ],
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"version": "0.0.31", "version": "0.0.31",
"description": "Wax prosemirror plugins", "description": "Wax prosemirror plugins",
"license": "MIT", "license": "MIT",
"main": "dist/index.js", "main": "index.js",
"files": [ "files": [
"dist" "dist"
], ],
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"version": "0.0.31", "version": "0.0.31",
"description": "Wax prosemirror schema", "description": "Wax prosemirror schema",
"license": "MIT", "license": "MIT",
"main": "dist/index.js", "main": "index.js",
"files": [ "files": [
"dist" "dist"
], ],
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"version": "0.0.31", "version": "0.0.31",
"description": "Wax prosemirror services", "description": "Wax prosemirror services",
"license": "MIT", "license": "MIT",
"main": "dist/index.js", "main": "index.js",
"files": [ "files": [
"dist" "dist"
], ],
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"version": "0.0.31", "version": "0.0.31",
"description": "Wax prosemirror utilities", "description": "Wax prosemirror utilities",
"license": "MIT", "license": "MIT",
"main": "dist/index.js", "main": "index.js",
"files": [ "files": [
"dist" "dist"
], ],
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment