@worktile/theia 19.4.0 → 19.4.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/theia",
3
- "version": "19.4.0",
3
+ "version": "19.4.2",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
@@ -163,10 +163,11 @@
163
163
  color: initial;
164
164
  font-weight: initial;
165
165
  font-style: initial;
166
- white-space: nowrap;
167
166
  text-decoration: initial;
168
167
  text-overflow: ellipsis;
169
168
  background-color: initial;
169
+ display: -webkit-box;
170
+ -webkit-box-orient: vertical;
170
171
  }
171
172
 
172
173
  .the-break-char {
@@ -2,6 +2,7 @@ import { Editor, Element, Node } from 'slate';
2
2
  export declare const getStartBlock: (editor: Editor, fragment: Element) => any;
3
3
  export declare const getEndBlock: (editor: Editor, fragment: Element) => any;
4
4
  export declare const extractFragment: (data: DataTransfer, deleteKey?: string) => Promise<import("@worktile/theia").CustomElement[]>;
5
+ export declare const extractFragmentByHTML: (data: DataTransfer, deleteKey?: string) => Promise<import("@worktile/theia").CustomElement[]>;
5
6
  export declare function deleteElementKey(nodes: Node[], key: string): Node[];
6
7
  /**
7
8
  * 过滤文本格式:颜色/背景色/字体大小