@live-change/wysiwyg-frontend 0.2.25 → 0.2.27

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.
@@ -1,6 +1,8 @@
1
1
  import { Node } from '@tiptap/core'
2
2
  import CodeBlockView from "./CodeBlockView.js"
3
3
 
4
+ import "./code-block-node.scss"
5
+
4
6
  function arrowHandler(dir) {
5
7
  return (state, dispatch, view) => {
6
8
  if (state.selection?.empty && view.endOfTextblock(dir)) {
@@ -94,17 +94,7 @@
94
94
  }
95
95
 
96
96
  pre {
97
- border-radius: 5px;
98
- color: #333;
99
- }
100
-
101
- code {
102
- display: block;
103
- white-space: pre-wrap;
104
- font-size: 0.8rem;
105
- padding: 0.75rem 1rem;
106
- background-color:#e9ecef;
107
- color: #495057;
97
+ overflow-x: auto;
108
98
  }
109
99
 
110
100
  img {
@@ -0,0 +1,3 @@
1
+ .cm-editor {
2
+ margin: 1em 0px;
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/wysiwyg-frontend",
3
- "version": "0.2.25",
3
+ "version": "0.2.27",
4
4
  "scripts": {
5
5
  "memDev": "lcli memDev --enableSessions --initScript ./init.js --dbAccess",
6
6
  "localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
@@ -25,16 +25,16 @@
25
25
  "@codemirror/language": "^6.1.2",
26
26
  "@codemirror/view": "^6.7.1",
27
27
  "@fortawesome/fontawesome-free": "^6.2.0",
28
- "@live-change/cli": "0.7.8",
28
+ "@live-change/cli": "0.7.10",
29
29
  "@live-change/dao": "0.5.8",
30
30
  "@live-change/dao-vue3": "0.5.8",
31
31
  "@live-change/dao-websocket": "0.5.8",
32
- "@live-change/framework": "0.7.8",
33
- "@live-change/password-authentication-service": "0.3.10",
34
- "@live-change/prosemirror-service": "0.3.10",
35
- "@live-change/secret-code-service": "0.3.10",
36
- "@live-change/secret-link-service": "0.3.10",
37
- "@live-change/session-service": "0.3.10",
32
+ "@live-change/framework": "0.7.10",
33
+ "@live-change/password-authentication-service": "0.3.11",
34
+ "@live-change/prosemirror-service": "0.3.11",
35
+ "@live-change/secret-code-service": "0.3.11",
36
+ "@live-change/secret-link-service": "0.3.11",
37
+ "@live-change/session-service": "0.3.11",
38
38
  "@live-change/vue3-components": "0.2.16",
39
39
  "@live-change/vue3-ssr": "0.2.16",
40
40
  "@tiptap/core": "^2.0.0-beta.205",
@@ -88,7 +88,7 @@
88
88
  "vue3-scroll-border": "0.1.4"
89
89
  },
90
90
  "devDependencies": {
91
- "@live-change/codeceptjs-helper": "0.7.8",
91
+ "@live-change/codeceptjs-helper": "0.7.10",
92
92
  "@wdio/selenium-standalone-service": "^7.20.8",
93
93
  "codeceptjs": "^3.3.4",
94
94
  "generate-password": "1.7.0",
@@ -100,5 +100,5 @@
100
100
  "author": "",
101
101
  "license": "ISC",
102
102
  "description": "",
103
- "gitHead": "e1f5d14fd79629abbc3e272e171aea587b4db90a"
103
+ "gitHead": "b37e73f127df32ddccf8e9cb4baa21f79d11a487"
104
104
  }