@wangeditor-next/core 1.5.1 → 1.5.3
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/CHANGELOG.md +235 -216
- package/README.md +1 -1
- package/dist/index.esm.js +23 -10
- package/dist/index.js +23 -10
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.5.3](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/core@1.5.2...@wangeditor-next/core@1.5.3) (2024-07-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @wangeditor-next/core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.5.2](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/core@1.5.0...@wangeditor-next/core@1.5.2) (2024-07-15)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* remove extra lists when pasting Feishu doc lists ([bd2d905](https://github.com/cycleccc/wangEditor/commit/bd2d90556404e3b5b82ff114931d7a1be1126556))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [1.5.1](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/core@1.5.0...@wangeditor-next/core@1.5.1) (2024-07-14)
|
|
7
26
|
|
|
8
27
|
|
|
@@ -153,8 +172,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
153
172
|
* editor.blur() api 无效 ([48cbff3](https://github.com/cycleccc/wangEditor/commit/48cbff3142d961ff2eaf2f76a3182488de2e5b93))
|
|
154
173
|
* editor.focus() 参数语法错误 ([334fa21](https://github.com/cycleccc/wangEditor/commit/334fa217d43fdaa95454e7c85a53526b7b777fda))
|
|
155
174
|
* firefox下全选输入出现多余字符 ([659b107](https://github.com/cycleccc/wangEditor/commit/659b1078e3395ff00ddc0d1792fbf9c4d448ca41))
|
|
156
|
-
* fix https://github.com/
|
|
157
|
-
* fix https://github.com/
|
|
175
|
+
* fix https://github.com/cycleccc/wangEditor-v5/issues/457 ([1d8a46a](https://github.com/cycleccc/wangEditor/commit/1d8a46a1b5402c2ecb418db24d9d22532d152cea))
|
|
176
|
+
* fix https://github.com/cycleccc/wangEditor/issues/4754 ([e0216b9](https://github.com/cycleccc/wangEditor/commit/e0216b98b0ea9ebf4f9cc8a8fd820d68fcd230d3))
|
|
158
177
|
* focus blur 问题 ([4a1997b](https://github.com/cycleccc/wangEditor/commit/4a1997b9f19cdce9d6aa6ff4e8e13d439b12af05))
|
|
159
178
|
* focus table 时 isFocused 异常 ([5c52bf3](https://github.com/cycleccc/wangEditor/commit/5c52bf33e91b1a4677e7bbc04c5d80698abfeeab))
|
|
160
179
|
* fullScreen 隐藏 hoverbar ([ec463d3](https://github.com/cycleccc/wangEditor/commit/ec463d302cdc527987741ae6208a625af91ea61c))
|
|
@@ -283,54 +302,54 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
283
302
|
|
|
284
303
|
|
|
285
304
|
|
|
286
|
-
## [1.1.19](https://github.com/
|
|
305
|
+
## [1.1.19](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.18...@wangeditor/core@1.1.19) (2022-11-14)
|
|
287
306
|
|
|
288
307
|
|
|
289
308
|
### Bug Fixes
|
|
290
309
|
|
|
291
|
-
* **font family menu:** 处理 setHtml 的时候字体样式回显失败的问题 ([b941bab](https://github.com/
|
|
292
|
-
* **fontFamily menu:** fix font-family value quote symbol ([2c25231](https://github.com/
|
|
310
|
+
* **font family menu:** 处理 setHtml 的时候字体样式回显失败的问题 ([b941bab](https://github.com/cycleccc/wangEditor/commit/b941babbdc6bd5bf7da0cce826803a8fde011e07))
|
|
311
|
+
* **fontFamily menu:** fix font-family value quote symbol ([2c25231](https://github.com/cycleccc/wangEditor/commit/2c25231a088de14edbf7516fc448a6483125e3ed))
|
|
293
312
|
|
|
294
313
|
|
|
295
314
|
|
|
296
315
|
|
|
297
316
|
|
|
298
|
-
## [1.1.18](https://github.com/
|
|
317
|
+
## [1.1.18](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.17...@wangeditor/core@1.1.18) (2022-10-18)
|
|
299
318
|
|
|
300
319
|
|
|
301
320
|
### Bug Fixes
|
|
302
321
|
|
|
303
|
-
* mousedown事件添加passive的默认值 ([60229cc](https://github.com/
|
|
304
|
-
* **video menu:** fix invoke clear api can not clear video node when insert video ([68c1f8e](https://github.com/
|
|
322
|
+
* mousedown事件添加passive的默认值 ([60229cc](https://github.com/cycleccc/wangEditor/commit/60229cc2f9647a5f17dc0fd85c4bb1dc396a5e9c))
|
|
323
|
+
* **video menu:** fix invoke clear api can not clear video node when insert video ([68c1f8e](https://github.com/cycleccc/wangEditor/commit/68c1f8ee68ab2cb7b202b6d9b4d4db192a927725))
|
|
305
324
|
|
|
306
325
|
|
|
307
326
|
|
|
308
327
|
|
|
309
328
|
|
|
310
|
-
## [1.1.17](https://github.com/
|
|
329
|
+
## [1.1.17](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.16...@wangeditor/core@1.1.17) (2022-10-04)
|
|
311
330
|
|
|
312
331
|
|
|
313
332
|
### Bug Fixes
|
|
314
333
|
|
|
315
|
-
* 修复 compositionend 时错误修改dom的问题 ([1187154](https://github.com/
|
|
316
|
-
* 修复设置 maxlength 后粘贴异常的问题 ([14003d0](https://github.com/
|
|
334
|
+
* 修复 compositionend 时错误修改dom的问题 ([1187154](https://github.com/cycleccc/wangEditor/commit/1187154aa077594f55211307c00e3493d1ab5676))
|
|
335
|
+
* 修复设置 maxlength 后粘贴异常的问题 ([14003d0](https://github.com/cycleccc/wangEditor/commit/14003d0ba01eeb9a264d15fac514dd4b4bd89ff7))
|
|
317
336
|
|
|
318
337
|
|
|
319
338
|
|
|
320
339
|
|
|
321
340
|
|
|
322
|
-
## [1.1.16](https://github.com/
|
|
341
|
+
## [1.1.16](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.15...@wangeditor/core@1.1.16) (2022-09-27)
|
|
323
342
|
|
|
324
343
|
|
|
325
344
|
### Bug Fixes
|
|
326
345
|
|
|
327
|
-
* list-item - 遇到 style 是 toHtml 出错 ([9854308](https://github.com/
|
|
346
|
+
* list-item - 遇到 style 是 toHtml 出错 ([9854308](https://github.com/cycleccc/wangEditor/commit/98543083a1cb09207aceb2a4d8f3c1ce020b106d))
|
|
328
347
|
|
|
329
348
|
|
|
330
349
|
|
|
331
350
|
|
|
332
351
|
|
|
333
|
-
## [1.1.15](https://github.com/
|
|
352
|
+
## [1.1.15](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.14...@wangeditor/core@1.1.15) (2022-09-27)
|
|
334
353
|
|
|
335
354
|
**Note:** Version bump only for package @wangeditor/core
|
|
336
355
|
|
|
@@ -338,7 +357,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
338
357
|
|
|
339
358
|
|
|
340
359
|
|
|
341
|
-
## [1.1.14](https://github.com/
|
|
360
|
+
## [1.1.14](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.13...@wangeditor/core@1.1.14) (2022-09-16)
|
|
342
361
|
|
|
343
362
|
**Note:** Version bump only for package @wangeditor/core
|
|
344
363
|
|
|
@@ -346,30 +365,30 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
346
365
|
|
|
347
366
|
|
|
348
367
|
|
|
349
|
-
## [1.1.13](https://github.com/
|
|
368
|
+
## [1.1.13](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.12...@wangeditor/core@1.1.13) (2022-09-15)
|
|
350
369
|
|
|
351
370
|
|
|
352
371
|
### Bug Fixes
|
|
353
372
|
|
|
354
|
-
* focus table 时 isFocused 异常 ([5c52bf3](https://github.com/
|
|
355
|
-
* snabbdom 增加 attributesModule ([2c597b6](https://github.com/
|
|
373
|
+
* focus table 时 isFocused 异常 ([5c52bf3](https://github.com/cycleccc/wangEditor/commit/5c52bf33e91b1a4677e7bbc04c5d80698abfeeab))
|
|
374
|
+
* snabbdom 增加 attributesModule ([2c597b6](https://github.com/cycleccc/wangEditor/commit/2c597b6a52ffa96c820128d63fd84b903a6faebf))
|
|
356
375
|
|
|
357
376
|
|
|
358
377
|
|
|
359
378
|
|
|
360
379
|
|
|
361
|
-
## [1.1.12](https://github.com/
|
|
380
|
+
## [1.1.12](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.11...@wangeditor/core@1.1.12) (2022-08-30)
|
|
362
381
|
|
|
363
382
|
|
|
364
383
|
### Bug Fixes
|
|
365
384
|
|
|
366
|
-
* fix https://github.com/
|
|
385
|
+
* fix https://github.com/cycleccc/wangEditor/issues/4754 ([e0216b9](https://github.com/cycleccc/wangEditor/commit/e0216b98b0ea9ebf4f9cc8a8fd820d68fcd230d3))
|
|
367
386
|
|
|
368
387
|
|
|
369
388
|
|
|
370
389
|
|
|
371
390
|
|
|
372
|
-
## [1.1.11](https://github.com/
|
|
391
|
+
## [1.1.11](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.10...@wangeditor/core@1.1.11) (2022-07-27)
|
|
373
392
|
|
|
374
393
|
**Note:** Version bump only for package @wangeditor/core
|
|
375
394
|
|
|
@@ -377,75 +396,75 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
377
396
|
|
|
378
397
|
|
|
379
398
|
|
|
380
|
-
## [1.1.10](https://github.com/
|
|
399
|
+
## [1.1.10](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.9...@wangeditor/core@1.1.10) (2022-07-27)
|
|
381
400
|
|
|
382
401
|
|
|
383
402
|
### Bug Fixes
|
|
384
403
|
|
|
385
|
-
* setHtml 支持空字符串 ([d438157](https://github.com/
|
|
386
|
-
* upload file callback error ([bf20e07](https://github.com/
|
|
404
|
+
* setHtml 支持空字符串 ([d438157](https://github.com/cycleccc/wangEditor/commit/d43815766320d9cb0548bae0415c54ce7b147efb))
|
|
405
|
+
* upload file callback error ([bf20e07](https://github.com/cycleccc/wangEditor/commit/bf20e07f12ed242b0ab4bb2290d876153a822972))
|
|
387
406
|
|
|
388
407
|
|
|
389
408
|
|
|
390
409
|
|
|
391
410
|
|
|
392
|
-
## [1.1.9](https://github.com/
|
|
411
|
+
## [1.1.9](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.8...@wangeditor/core@1.1.9) (2022-07-22)
|
|
393
412
|
|
|
394
413
|
|
|
395
414
|
### Bug Fixes
|
|
396
415
|
|
|
397
|
-
* 粘贴 HTML <a> bug ([b935ef6](https://github.com/
|
|
416
|
+
* 粘贴 HTML <a> bug ([b935ef6](https://github.com/cycleccc/wangEditor/commit/b935ef622b9d4f8f3a9954d26a41c89d4e8042bd))
|
|
398
417
|
|
|
399
418
|
|
|
400
419
|
|
|
401
420
|
|
|
402
421
|
|
|
403
|
-
## [1.1.8](https://github.com/
|
|
422
|
+
## [1.1.8](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.7...@wangeditor/core@1.1.8) (2022-07-18)
|
|
404
423
|
|
|
405
424
|
|
|
406
425
|
### Bug Fixes
|
|
407
426
|
|
|
408
|
-
* 粘贴文字报错 ([a11ea56](https://github.com/
|
|
427
|
+
* 粘贴文字报错 ([a11ea56](https://github.com/cycleccc/wangEditor/commit/a11ea56af4f7976f5664232e80a164cd37d84d8c))
|
|
409
428
|
|
|
410
429
|
|
|
411
430
|
|
|
412
431
|
|
|
413
432
|
|
|
414
|
-
## [1.1.7](https://github.com/
|
|
433
|
+
## [1.1.7](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.6...@wangeditor/core@1.1.7) (2022-07-16)
|
|
415
434
|
|
|
416
435
|
|
|
417
436
|
### Bug Fixes
|
|
418
437
|
|
|
419
|
-
* setHtml() 多一个空行 ([994954f](https://github.com/
|
|
420
|
-
* 图片受 indent 影响 ([3d737f1](https://github.com/
|
|
438
|
+
* setHtml() 多一个空行 ([994954f](https://github.com/cycleccc/wangEditor/commit/994954fcbae72808e3488e0936a5f82253b603f4))
|
|
439
|
+
* 图片受 indent 影响 ([3d737f1](https://github.com/cycleccc/wangEditor/commit/3d737f11e457c46e1aeee40ebd834a2470198dfd))
|
|
421
440
|
|
|
422
441
|
|
|
423
442
|
|
|
424
443
|
|
|
425
444
|
|
|
426
|
-
## [1.1.6](https://github.com/
|
|
445
|
+
## [1.1.6](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.5...@wangeditor/core@1.1.6) (2022-07-14)
|
|
427
446
|
|
|
428
447
|
|
|
429
448
|
### Bug Fixes
|
|
430
449
|
|
|
431
|
-
* 粘贴网页 HTML 报错 ([939cb22](https://github.com/
|
|
450
|
+
* 粘贴网页 HTML 报错 ([939cb22](https://github.com/cycleccc/wangEditor/commit/939cb2229a11eea827e1bea4420f7502db1e7eb6))
|
|
432
451
|
|
|
433
452
|
|
|
434
453
|
|
|
435
454
|
|
|
436
455
|
|
|
437
|
-
## [1.1.5](https://github.com/
|
|
456
|
+
## [1.1.5](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.4...@wangeditor/core@1.1.5) (2022-07-13)
|
|
438
457
|
|
|
439
458
|
|
|
440
459
|
### Bug Fixes
|
|
441
460
|
|
|
442
|
-
* setHtml 问题 - table 后面 p 格式错误 ([b525b4a](https://github.com/
|
|
461
|
+
* setHtml 问题 - table 后面 p 格式错误 ([b525b4a](https://github.com/cycleccc/wangEditor/commit/b525b4aaa69b834204232774971367beba7db975))
|
|
443
462
|
|
|
444
463
|
|
|
445
464
|
|
|
446
465
|
|
|
447
466
|
|
|
448
|
-
## [1.1.4](https://github.com/
|
|
467
|
+
## [1.1.4](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.3...@wangeditor/core@1.1.4) (2022-07-12)
|
|
449
468
|
|
|
450
469
|
**Note:** Version bump only for package @wangeditor/core
|
|
451
470
|
|
|
@@ -453,55 +472,55 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
453
472
|
|
|
454
473
|
|
|
455
474
|
|
|
456
|
-
## [1.1.3](https://github.com/
|
|
475
|
+
## [1.1.3](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.2...@wangeditor/core@1.1.3) (2022-07-11)
|
|
457
476
|
|
|
458
477
|
|
|
459
478
|
### Bug Fixes
|
|
460
479
|
|
|
461
|
-
* scroll 滚动问题 ([bc133e1](https://github.com/
|
|
462
|
-
* 修复选中内容输入时,出现光标位置不对或者输入重复内容的问题 ([9596a4c](https://github.com/
|
|
480
|
+
* scroll 滚动问题 ([bc133e1](https://github.com/cycleccc/wangEditor/commit/bc133e1e4ca89ab5042cbc0971578ad144499805))
|
|
481
|
+
* 修复选中内容输入时,出现光标位置不对或者输入重复内容的问题 ([9596a4c](https://github.com/cycleccc/wangEditor/commit/9596a4ccaca2e2c4eed7ffc16fc4b042f73cef5d))
|
|
463
482
|
|
|
464
483
|
|
|
465
484
|
|
|
466
485
|
|
|
467
486
|
|
|
468
|
-
## [1.1.2](https://github.com/
|
|
487
|
+
## [1.1.2](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.1...@wangeditor/core@1.1.2) (2022-07-11)
|
|
469
488
|
|
|
470
489
|
|
|
471
490
|
### Bug Fixes
|
|
472
491
|
|
|
473
|
-
* editor.focus() 参数语法错误 ([334fa21](https://github.com/
|
|
474
|
-
* focus blur 问题 ([4a1997b](https://github.com/
|
|
475
|
-
* 单词之间空格问题 issue 4403 ([2f1d6f5](https://github.com/
|
|
492
|
+
* editor.focus() 参数语法错误 ([334fa21](https://github.com/cycleccc/wangEditor/commit/334fa217d43fdaa95454e7c85a53526b7b777fda))
|
|
493
|
+
* focus blur 问题 ([4a1997b](https://github.com/cycleccc/wangEditor/commit/4a1997b9f19cdce9d6aa6ff4e8e13d439b12af05))
|
|
494
|
+
* 单词之间空格问题 issue 4403 ([2f1d6f5](https://github.com/cycleccc/wangEditor/commit/2f1d6f5275c8a9e106b66213bb276c58a70aff79))
|
|
476
495
|
|
|
477
496
|
|
|
478
497
|
|
|
479
498
|
|
|
480
499
|
|
|
481
|
-
## [1.1.1](https://github.com/
|
|
500
|
+
## [1.1.1](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.1.0...@wangeditor/core@1.1.1) (2022-06-02)
|
|
482
501
|
|
|
483
502
|
|
|
484
503
|
### Bug Fixes
|
|
485
504
|
|
|
486
|
-
* issue 4308 - 自定义字号、字体无法回显 ([ad38b8c](https://github.com/
|
|
505
|
+
* issue 4308 - 自定义字号、字体无法回显 ([ad38b8c](https://github.com/cycleccc/wangEditor/commit/ad38b8ce6dbcff1d65785c8d6701238ad351f562))
|
|
487
506
|
|
|
488
507
|
|
|
489
508
|
|
|
490
509
|
|
|
491
510
|
|
|
492
|
-
# [1.1.0](https://github.com/
|
|
511
|
+
# [1.1.0](https://github.com/cycleccc/wangEditor/compare/@wangeditor/core@1.0.1...@wangeditor/core@1.1.0) (2022-05-25)
|
|
493
512
|
|
|
494
513
|
|
|
495
514
|
### Bug Fixes
|
|
496
515
|
|
|
497
|
-
* 修复 readonly 模式下,特定内容下editor初始化报错的问题 ([f3bc8b8](https://github.com/
|
|
498
|
-
* 粘贴 HTML 后 font-size font-family line-height 不显示 ([2281957](https://github.com/
|
|
516
|
+
* 修复 readonly 模式下,特定内容下editor初始化报错的问题 ([f3bc8b8](https://github.com/cycleccc/wangEditor/commit/f3bc8b8d485765cfa8fa7d19e530aa1a1b4bc4e2))
|
|
517
|
+
* 粘贴 HTML 后 font-size font-family line-height 不显示 ([2281957](https://github.com/cycleccc/wangEditor/commit/2281957020a30de9cda1c5e9d5e20c6668b7f592))
|
|
499
518
|
|
|
500
519
|
|
|
501
520
|
### Features
|
|
502
521
|
|
|
503
|
-
* editVideoSize ([375eecb](https://github.com/
|
|
504
|
-
* setHtml ([f4f91b8](https://github.com/
|
|
522
|
+
* editVideoSize ([375eecb](https://github.com/cycleccc/wangEditor/commit/375eecba826eac681268c55c47bcd922f7157d63))
|
|
523
|
+
* setHtml ([f4f91b8](https://github.com/cycleccc/wangEditor/commit/f4f91b883298091e3679ca6b206ae0d796003772))
|
|
505
524
|
|
|
506
525
|
|
|
507
526
|
|
|
@@ -512,173 +531,173 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
512
531
|
|
|
513
532
|
### Bug Fixes
|
|
514
533
|
|
|
515
|
-
* 部分菜单 disabled ([87f1233](https://github.com/
|
|
516
|
-
* 错别字 alwaysEnable ([82c5136](https://github.com/
|
|
517
|
-
* 弹出 modal 时 blur ([53454ef](https://github.com/
|
|
518
|
-
* 点击编辑器区域,未关闭 dropPanel ([b23123b](https://github.com/
|
|
519
|
-
* 多余的空行 ([4af6c64](https://github.com/
|
|
520
|
-
* 多余的空行 ([9dde85c](https://github.com/
|
|
521
|
-
* 更新各包之间依赖版本 ([75c552c](https://github.com/
|
|
522
|
-
* 获取 activeElement 兼容 Document 和 ShadowRoot ([d904e5d](https://github.com/
|
|
523
|
-
* 拼音输入 bug we-2021/issues/47 ([20b7429](https://github.com/
|
|
524
|
-
* 拼音隐藏 placeholder ([aec1a9f](https://github.com/
|
|
525
|
-
* 全屏边距 ([1acb129](https://github.com/
|
|
526
|
-
* 全选 ([3cb8f42](https://github.com/
|
|
527
|
-
* 上传图片 - base64 仍触发上传 + 超出 maxSize 的报错提醒 ([a1d469a](https://github.com/
|
|
528
|
-
* 使用了 ts 类型空间导入方式优化 ([5d7b509](https://github.com/
|
|
529
|
-
* 图片上传,提示 ([3754012](https://github.com/
|
|
530
|
-
* 完善了 isDOMEventHandled ([745f1d7](https://github.com/
|
|
531
|
-
* 完善了 metaWithUrl 类型声明 ([3542834](https://github.com/
|
|
532
|
-
* 修复 firefox 上全选编辑器内容使用拼音输入异常 ([87dafcb](https://github.com/
|
|
533
|
-
* 修复 modal 中的 input 没有被 focus ([484c51e](https://github.com/
|
|
534
|
-
* 修复 modal close 时没有恢复选区的问题 ([16f5a57](https://github.com/
|
|
535
|
-
* 修复回车超过视口后没有自动滚动的问题 ([f088b52](https://github.com/
|
|
536
|
-
* 修复了使用拼音输入法在 safari 上光标位置没有正常更新的问题 ([cb4cf12](https://github.com/
|
|
537
|
-
* 修复连续输入空格滚动条不滚动的bug ([3bd358d](https://github.com/
|
|
538
|
-
* 修复内容重复和编辑器内容拖动的一些 bug ([5a9c9d0](https://github.com/
|
|
539
|
-
* 修复行间距过小无效 ([5f13a5b](https://github.com/
|
|
540
|
-
* 修复选中内容中文输入时光标定位问题 ([51596a8](https://github.com/
|
|
541
|
-
* 修复用户自定义change事件获取html时tabal报错 ([5204f8e](https://github.com/
|
|
542
|
-
* 修复在 Chrome 和 Safari 中删除内容时,内联空节点被选中 ([a47c73f](https://github.com/
|
|
543
|
-
* 修复在 Safari 下,即使 contenteditable 元素非聚焦状态,并不会删除所选内容 ([3e8ca3c](https://github.com/
|
|
544
|
-
* 修复在代码块中中文输入会有多余字符的问题 ([a138c3f](https://github.com/
|
|
545
|
-
* 修复在destory可能出现editor not find的问题 ([ce60416](https://github.com/
|
|
546
|
-
* 修复Safari上table内空行输入报错的问题 ([dae6dc5](https://github.com/
|
|
547
|
-
* 修复ua正则不支持100+的问题 ([c488ba0](https://github.com/
|
|
548
|
-
* 选择图片会滚动 ([d2a8762](https://github.com/
|
|
549
|
-
* 选中内容输入中文报错 ([890cc68](https://github.com/
|
|
550
|
-
* 移除了每个包下的 publishConfig directory 配置 ([16559f0](https://github.com/
|
|
551
|
-
* 优化插入新文本的滚动交互 ([71131a4](https://github.com/
|
|
552
|
-
* 优化当父元素有滚动条,插入新文本的滚动交互 ([9275090](https://github.com/
|
|
553
|
-
* 优化了 core 类型声明 ([5b5ee1e](https://github.com/
|
|
554
|
-
* 优化了 deleteFragment 函数调用传参 ([8d8145c](https://github.com/
|
|
555
|
-
* 优化了 normalizeDOMPoint 函数 ([31b9999](https://github.com/
|
|
556
|
-
* 优化了当编辑失焦编辑区域滚动到顶部的问题 ([ebb966b](https://github.com/
|
|
557
|
-
* 优化了浏览器是否支持 beforeinput 事件的兼容性判断 ([ea221bb](https://github.com/
|
|
558
|
-
* 优化选中代码块不应该展示 hoverbar 的交互 ([33dcbd6](https://github.com/
|
|
559
|
-
* 在移动 word 之前折叠展开选区 ([6b9b0f3](https://github.com/
|
|
560
|
-
* 增加 EXTEND_CONF 配置扩展能力 ([ff75a16](https://github.com/
|
|
561
|
-
* 重复创建 ([3682c53](https://github.com/
|
|
562
|
-
* autoFucos ([fea2faf](https://github.com/
|
|
563
|
-
* beforeinput support ([60e6efc](https://github.com/
|
|
564
|
-
* blockquote & header insertBreak ([06678c9](https://github.com/
|
|
565
|
-
* button 增加 type ([37b3390](https://github.com/
|
|
566
|
-
* chrome 链接后输入拼音,js 错误 ([6c04fab](https://github.com/
|
|
567
|
-
* clear API ([c188b56](https://github.com/
|
|
568
|
-
* code-block 选择语言 - 点击拖拽滚动条 ([b8c75e7](https://github.com/
|
|
569
|
-
* composition-end ([082561d](https://github.com/
|
|
570
|
-
* create - 判断 content length ([c0eadc9](https://github.com/
|
|
571
|
-
* dangerouslyInsertHtml - 兼容异常情况 ([8b549f4](https://github.com/
|
|
572
|
-
* droplist 过长 ([1de2a76](https://github.com/
|
|
573
|
-
* dropPanel 定位 ([e76310a](https://github.com/
|
|
574
|
-
* editor.blur() api 无效 ([48cbff3](https://github.com/
|
|
575
|
-
* firefox下全选输入出现多余字符 ([659b107](https://github.com/
|
|
576
|
-
* fix https://github.com/
|
|
577
|
-
* fullScreen 隐藏 hoverbar ([ec463d3](https://github.com/
|
|
578
|
-
* getElems 增加 id ([1dcedd9](https://github.com/
|
|
579
|
-
* getHtml 死循环 ([4614bfb](https://github.com/
|
|
580
|
-
* getHtml API ([c0b60cf](https://github.com/
|
|
581
|
-
* group-menu 考虑 excludeKeys ([ecc29f3](https://github.com/
|
|
582
|
-
* hotkey mod ([d480c20](https://github.com/
|
|
583
|
-
* hoverbar - 处于网页下部 ([6cfb3e2](https://github.com/
|
|
584
|
-
* hoverbar 被点击多次隐藏 ([bf4fc19](https://github.com/
|
|
585
|
-
* hoverbar active ([ceb3f41](https://github.com/
|
|
586
|
-
* hoverbar modal 重复创建 ([70d2b61](https://github.com/
|
|
587
|
-
* hoverbar show/hide ([c96bc83](https://github.com/
|
|
588
|
-
* hoverbarKeys - text ([59b4840](https://github.com/
|
|
589
|
-
* html 特殊字符 ([b3eb81b](https://github.com/
|
|
590
|
-
* i18n - 获取多语言配置 ([9f81597](https://github.com/
|
|
591
|
-
* i18n 切换语言 ([b3b4642](https://github.com/
|
|
592
|
-
* insertHtml - maxLength ([8c7dc8b](https://github.com/
|
|
593
|
-
* insertHtml - maxLength ([52d72ec](https://github.com/
|
|
594
|
-
* insertHtml - maxLength ([b573359](https://github.com/
|
|
595
|
-
* insertKeys ([0a89420](https://github.com/
|
|
596
|
-
* link, text hoverbar 选区问题 ([e0b7438](https://github.com/
|
|
597
|
-
* maxLength - 拼音 + 粘贴 ([3ac4db6](https://github.com/
|
|
598
|
-
* maxLength 对于拼音输入无效 ([117faa6](https://github.com/
|
|
599
|
-
* menu 点击多次才能生效 ([6497e39](https://github.com/
|
|
600
|
-
* min-height ([460fad5](https://github.com/
|
|
601
|
-
* modal close ([dbfb3b4](https://github.com/
|
|
602
|
-
* normalize when create editor ([2b51962](https://github.com/
|
|
603
|
-
* parse html - 有些 elem children 需要过滤 ([63cbb80](https://github.com/
|
|
604
|
-
* parse-html - space 160 ([54e72bc](https://github.com/
|
|
605
|
-
* parse-html - sub sup ([2c15a5f](https://github.com/
|
|
606
|
-
* parseHtml - 多空格文本 ([5d4479c](https://github.com/
|
|
607
|
-
* placeholder - 全选输入中文 ([fe4dd2a](https://github.com/
|
|
608
|
-
* placeHolder elem ([7d577ac](https://github.com/
|
|
609
|
-
* readOnly 时菜单还可操作 ([0d4a29b](https://github.com/
|
|
610
|
-
* readOnly 依然可以 insertText ([096eeaf](https://github.com/
|
|
611
|
-
* rename es module filename ([1821d4e](https://github.com/
|
|
612
|
-
* shadowDOM 节点支持问题 ([5eb41f1](https://github.com/
|
|
613
|
-
* shadowDOM 在失焦状态下元素获取失败 ([98aeccc](https://github.com/
|
|
614
|
-
* table - 粘贴合并单元格的表格 ([56ecb63](https://github.com/
|
|
615
|
-
* table - elemToHtml ([e36e609](https://github.com/
|
|
616
|
-
* table-cell 全选 ([1ef4872](https://github.com/
|
|
617
|
-
* tableCell 中 br 报错 ([8604db7](https://github.com/
|
|
618
|
-
* td th 中换行不起作用 ([89c6032](https://github.com/
|
|
619
|
-
* textarea height ([873b04a](https://github.com/
|
|
620
|
-
* tooltip ([7e066d1](https://github.com/
|
|
621
|
-
* upload progress 0 ([9e660be](https://github.com/
|
|
622
|
-
* url 后面中文输入异常 ([3bcebc7](https://github.com/
|
|
623
|
-
* void node - 不清理 text ([1bc891c](https://github.com/
|
|
624
|
-
* vue 组件增加 customPaste ([e764248](https://github.com/
|
|
625
|
-
* w-e-menu-tooltip 和 v4 冲突 ([762403b](https://github.com/
|
|
626
|
-
* z-index ([02ec2d5](https://github.com/
|
|
534
|
+
* 部分菜单 disabled ([87f1233](https://github.com/cycleccc/wangEditor/commit/87f12332a087072406c1988dc5cef2eae8335375))
|
|
535
|
+
* 错别字 alwaysEnable ([82c5136](https://github.com/cycleccc/wangEditor/commit/82c5136f8496be420dfa26b0f30522e19924a907))
|
|
536
|
+
* 弹出 modal 时 blur ([53454ef](https://github.com/cycleccc/wangEditor/commit/53454ef74b0775391aecf2d745561c9281715934))
|
|
537
|
+
* 点击编辑器区域,未关闭 dropPanel ([b23123b](https://github.com/cycleccc/wangEditor/commit/b23123bb361ac2acadcacdfeaa78dd7bf878f86e))
|
|
538
|
+
* 多余的空行 ([4af6c64](https://github.com/cycleccc/wangEditor/commit/4af6c648861c2c56db62fae28e9dfa0d27ca5d51))
|
|
539
|
+
* 多余的空行 ([9dde85c](https://github.com/cycleccc/wangEditor/commit/9dde85cec5a27be21e0b89c24288d418e1f6d2de))
|
|
540
|
+
* 更新各包之间依赖版本 ([75c552c](https://github.com/cycleccc/wangEditor/commit/75c552cc8ed54765bebb86a7ec5329a7fc79e85f))
|
|
541
|
+
* 获取 activeElement 兼容 Document 和 ShadowRoot ([d904e5d](https://github.com/cycleccc/wangEditor/commit/d904e5dc263ce670362779b0cfa51ca9f7a8bd86))
|
|
542
|
+
* 拼音输入 bug we-2021/issues/47 ([20b7429](https://github.com/cycleccc/wangEditor/commit/20b74298509d9463d6aa1aaffabc21bd33bd7857))
|
|
543
|
+
* 拼音隐藏 placeholder ([aec1a9f](https://github.com/cycleccc/wangEditor/commit/aec1a9f62af8944b7894beeca953076ec73545d5))
|
|
544
|
+
* 全屏边距 ([1acb129](https://github.com/cycleccc/wangEditor/commit/1acb12974848af28e2d0f574f85a59145675cdbc))
|
|
545
|
+
* 全选 ([3cb8f42](https://github.com/cycleccc/wangEditor/commit/3cb8f428a0b94c280b63d42f46c148a9f0e2d9fd))
|
|
546
|
+
* 上传图片 - base64 仍触发上传 + 超出 maxSize 的报错提醒 ([a1d469a](https://github.com/cycleccc/wangEditor/commit/a1d469accb7f87f8ea0282a1699d002aaaa4e79a))
|
|
547
|
+
* 使用了 ts 类型空间导入方式优化 ([5d7b509](https://github.com/cycleccc/wangEditor/commit/5d7b5094e561af138b2569c669fd4daad2808f73))
|
|
548
|
+
* 图片上传,提示 ([3754012](https://github.com/cycleccc/wangEditor/commit/37540129dff1212c5ebfd4ca3f4d4e8def735e73))
|
|
549
|
+
* 完善了 isDOMEventHandled ([745f1d7](https://github.com/cycleccc/wangEditor/commit/745f1d7b949eb8839cbdb0fb1690c33c386b697f))
|
|
550
|
+
* 完善了 metaWithUrl 类型声明 ([3542834](https://github.com/cycleccc/wangEditor/commit/3542834b9aa65eba5b1c352d106f6623e5fcdc06))
|
|
551
|
+
* 修复 firefox 上全选编辑器内容使用拼音输入异常 ([87dafcb](https://github.com/cycleccc/wangEditor/commit/87dafcbe4c51d588ac97d3825a9389571fa16404))
|
|
552
|
+
* 修复 modal 中的 input 没有被 focus ([484c51e](https://github.com/cycleccc/wangEditor/commit/484c51e4629defe9eac3f2acaf83ccb62a669d5d))
|
|
553
|
+
* 修复 modal close 时没有恢复选区的问题 ([16f5a57](https://github.com/cycleccc/wangEditor/commit/16f5a57b2815026741249e8b4ef9e7222071353f))
|
|
554
|
+
* 修复回车超过视口后没有自动滚动的问题 ([f088b52](https://github.com/cycleccc/wangEditor/commit/f088b52ff8c9386ba9efc2d7d3e97f76c702b26d))
|
|
555
|
+
* 修复了使用拼音输入法在 safari 上光标位置没有正常更新的问题 ([cb4cf12](https://github.com/cycleccc/wangEditor/commit/cb4cf12bcb6448e5964c47674281f37db96069fa))
|
|
556
|
+
* 修复连续输入空格滚动条不滚动的bug ([3bd358d](https://github.com/cycleccc/wangEditor/commit/3bd358d83969a53f1ed4f3fd349eb186750f9461))
|
|
557
|
+
* 修复内容重复和编辑器内容拖动的一些 bug ([5a9c9d0](https://github.com/cycleccc/wangEditor/commit/5a9c9d0b0880dc006180a5c4e5828f54cd1905da))
|
|
558
|
+
* 修复行间距过小无效 ([5f13a5b](https://github.com/cycleccc/wangEditor/commit/5f13a5b3dc859a45ad25f88ad363f408d23bcee1))
|
|
559
|
+
* 修复选中内容中文输入时光标定位问题 ([51596a8](https://github.com/cycleccc/wangEditor/commit/51596a8b0b920dc1d1a9e39fff7c3624c0aa6f52))
|
|
560
|
+
* 修复用户自定义change事件获取html时tabal报错 ([5204f8e](https://github.com/cycleccc/wangEditor/commit/5204f8ebf63abdf8a7093e202411b63ce86c2964))
|
|
561
|
+
* 修复在 Chrome 和 Safari 中删除内容时,内联空节点被选中 ([a47c73f](https://github.com/cycleccc/wangEditor/commit/a47c73fc5fa008096165d5ac9c55d01f4a6b045b))
|
|
562
|
+
* 修复在 Safari 下,即使 contenteditable 元素非聚焦状态,并不会删除所选内容 ([3e8ca3c](https://github.com/cycleccc/wangEditor/commit/3e8ca3c86074454a75054e5ded03154f6b6544ea))
|
|
563
|
+
* 修复在代码块中中文输入会有多余字符的问题 ([a138c3f](https://github.com/cycleccc/wangEditor/commit/a138c3f0a2f25d9f89afb912cff45596f99e6b05))
|
|
564
|
+
* 修复在destory可能出现editor not find的问题 ([ce60416](https://github.com/cycleccc/wangEditor/commit/ce604165527435952b5ac4b011842714ec8cd5dd))
|
|
565
|
+
* 修复Safari上table内空行输入报错的问题 ([dae6dc5](https://github.com/cycleccc/wangEditor/commit/dae6dc544f714f195989a05970cb6bf272f6eb8b))
|
|
566
|
+
* 修复ua正则不支持100+的问题 ([c488ba0](https://github.com/cycleccc/wangEditor/commit/c488ba09183cbfcabef223709464c42fac53aea0))
|
|
567
|
+
* 选择图片会滚动 ([d2a8762](https://github.com/cycleccc/wangEditor/commit/d2a87629cedc3533e268a31ca822f414082bf48d))
|
|
568
|
+
* 选中内容输入中文报错 ([890cc68](https://github.com/cycleccc/wangEditor/commit/890cc686e566be68227641d5f31b42de66351126))
|
|
569
|
+
* 移除了每个包下的 publishConfig directory 配置 ([16559f0](https://github.com/cycleccc/wangEditor/commit/16559f052545c111318be760e64291a521bdcc65))
|
|
570
|
+
* 优化插入新文本的滚动交互 ([71131a4](https://github.com/cycleccc/wangEditor/commit/71131a4355d24b805052fa9bcf1515432e4351ad))
|
|
571
|
+
* 优化当父元素有滚动条,插入新文本的滚动交互 ([9275090](https://github.com/cycleccc/wangEditor/commit/9275090399f068db14854f2794b9aab996bee22e))
|
|
572
|
+
* 优化了 core 类型声明 ([5b5ee1e](https://github.com/cycleccc/wangEditor/commit/5b5ee1ee34300748460cedab6fcd46463820f8ef))
|
|
573
|
+
* 优化了 deleteFragment 函数调用传参 ([8d8145c](https://github.com/cycleccc/wangEditor/commit/8d8145c5e496a28e2d586722101d217ba1be7079))
|
|
574
|
+
* 优化了 normalizeDOMPoint 函数 ([31b9999](https://github.com/cycleccc/wangEditor/commit/31b99992bdc5bc2cc239320200da7d5ba7d6cfc0))
|
|
575
|
+
* 优化了当编辑失焦编辑区域滚动到顶部的问题 ([ebb966b](https://github.com/cycleccc/wangEditor/commit/ebb966bce81023c79727bae846920323f733008d))
|
|
576
|
+
* 优化了浏览器是否支持 beforeinput 事件的兼容性判断 ([ea221bb](https://github.com/cycleccc/wangEditor/commit/ea221bb3e176ace7a99854673fd727dedc0b3ba7))
|
|
577
|
+
* 优化选中代码块不应该展示 hoverbar 的交互 ([33dcbd6](https://github.com/cycleccc/wangEditor/commit/33dcbd6560dccfbe77e18cfbce8c9f077f19f6cd))
|
|
578
|
+
* 在移动 word 之前折叠展开选区 ([6b9b0f3](https://github.com/cycleccc/wangEditor/commit/6b9b0f3c9755c1950b0645c34166bd043a9d05f0))
|
|
579
|
+
* 增加 EXTEND_CONF 配置扩展能力 ([ff75a16](https://github.com/cycleccc/wangEditor/commit/ff75a16643b26d2d0e7a92cfdd827d5f0f56a849))
|
|
580
|
+
* 重复创建 ([3682c53](https://github.com/cycleccc/wangEditor/commit/3682c53b181b89d2c16b5d9845b381a4813c9e3c))
|
|
581
|
+
* autoFucos ([fea2faf](https://github.com/cycleccc/wangEditor/commit/fea2faf0af83a3eec67ee7bc7d76328409d2d703))
|
|
582
|
+
* beforeinput support ([60e6efc](https://github.com/cycleccc/wangEditor/commit/60e6efc3b3d6c31c4834e3b40e02fc8bc4ceaea6))
|
|
583
|
+
* blockquote & header insertBreak ([06678c9](https://github.com/cycleccc/wangEditor/commit/06678c963e8c8421ecded448de7510b254117550))
|
|
584
|
+
* button 增加 type ([37b3390](https://github.com/cycleccc/wangEditor/commit/37b33903e0ae5ffe95ab907791ab484facd052d9))
|
|
585
|
+
* chrome 链接后输入拼音,js 错误 ([6c04fab](https://github.com/cycleccc/wangEditor/commit/6c04fabb2c5ec78e13c1e1583685cf726887dcae))
|
|
586
|
+
* clear API ([c188b56](https://github.com/cycleccc/wangEditor/commit/c188b567379ae32abcfa879620c995c8d45818c4))
|
|
587
|
+
* code-block 选择语言 - 点击拖拽滚动条 ([b8c75e7](https://github.com/cycleccc/wangEditor/commit/b8c75e7dc5332c9da622433380802886dedc4344))
|
|
588
|
+
* composition-end ([082561d](https://github.com/cycleccc/wangEditor/commit/082561dc341b45791933757e2cf6102190004674))
|
|
589
|
+
* create - 判断 content length ([c0eadc9](https://github.com/cycleccc/wangEditor/commit/c0eadc9bf03edc7576c1d3e957babede4c0b546f))
|
|
590
|
+
* dangerouslyInsertHtml - 兼容异常情况 ([8b549f4](https://github.com/cycleccc/wangEditor/commit/8b549f480434782107eda3412bf6530d0d7eb9ba))
|
|
591
|
+
* droplist 过长 ([1de2a76](https://github.com/cycleccc/wangEditor/commit/1de2a76ac802b80c1b45537c129e5833b4d73d33))
|
|
592
|
+
* dropPanel 定位 ([e76310a](https://github.com/cycleccc/wangEditor/commit/e76310a1c6d4aafb2385faebb005bdddd38f9838))
|
|
593
|
+
* editor.blur() api 无效 ([48cbff3](https://github.com/cycleccc/wangEditor/commit/48cbff3142d961ff2eaf2f76a3182488de2e5b93))
|
|
594
|
+
* firefox下全选输入出现多余字符 ([659b107](https://github.com/cycleccc/wangEditor/commit/659b1078e3395ff00ddc0d1792fbf9c4d448ca41))
|
|
595
|
+
* fix https://github.com/cycleccc/wangEditor-v5/issues/457 ([1d8a46a](https://github.com/cycleccc/wangEditor/commit/1d8a46a1b5402c2ecb418db24d9d22532d152cea))
|
|
596
|
+
* fullScreen 隐藏 hoverbar ([ec463d3](https://github.com/cycleccc/wangEditor/commit/ec463d302cdc527987741ae6208a625af91ea61c))
|
|
597
|
+
* getElems 增加 id ([1dcedd9](https://github.com/cycleccc/wangEditor/commit/1dcedd9392d2eecef29f9c93e8915a2f2f83b8a5))
|
|
598
|
+
* getHtml 死循环 ([4614bfb](https://github.com/cycleccc/wangEditor/commit/4614bfb5c3a2658348a59749dd800a349e6c33a9))
|
|
599
|
+
* getHtml API ([c0b60cf](https://github.com/cycleccc/wangEditor/commit/c0b60cf47d8eaae4292265906fbe07875e1564c9))
|
|
600
|
+
* group-menu 考虑 excludeKeys ([ecc29f3](https://github.com/cycleccc/wangEditor/commit/ecc29f3b24992c8dc0adf006d81b0d4a252683c5))
|
|
601
|
+
* hotkey mod ([d480c20](https://github.com/cycleccc/wangEditor/commit/d480c206fd83ecc8d12f36147c210208aa6d6ab3))
|
|
602
|
+
* hoverbar - 处于网页下部 ([6cfb3e2](https://github.com/cycleccc/wangEditor/commit/6cfb3e2d364f4532cbafe5c8c6e4b3bc13fa2d78))
|
|
603
|
+
* hoverbar 被点击多次隐藏 ([bf4fc19](https://github.com/cycleccc/wangEditor/commit/bf4fc193847e8caba3a67c8dd152eae4f1950c4f))
|
|
604
|
+
* hoverbar active ([ceb3f41](https://github.com/cycleccc/wangEditor/commit/ceb3f41deafd8fc2cb8d3e8a498cb8d90ad1c73f))
|
|
605
|
+
* hoverbar modal 重复创建 ([70d2b61](https://github.com/cycleccc/wangEditor/commit/70d2b618a0662c88cd5e6691f513009726ce1b9b))
|
|
606
|
+
* hoverbar show/hide ([c96bc83](https://github.com/cycleccc/wangEditor/commit/c96bc8378939fecd78807fea4f2b7e1eec2a9ea0))
|
|
607
|
+
* hoverbarKeys - text ([59b4840](https://github.com/cycleccc/wangEditor/commit/59b48406b4c373ef029a5f5bdb0d15d925a91a0f))
|
|
608
|
+
* html 特殊字符 ([b3eb81b](https://github.com/cycleccc/wangEditor/commit/b3eb81bc9c4aa15c2ff7451c173de15d6c4552bc))
|
|
609
|
+
* i18n - 获取多语言配置 ([9f81597](https://github.com/cycleccc/wangEditor/commit/9f815970f8c3c6dddb6bf846ecb672325e80444b))
|
|
610
|
+
* i18n 切换语言 ([b3b4642](https://github.com/cycleccc/wangEditor/commit/b3b4642c6e72ab0b13b05657745abb87e71c633d))
|
|
611
|
+
* insertHtml - maxLength ([8c7dc8b](https://github.com/cycleccc/wangEditor/commit/8c7dc8b8efe1705af9989b040b04e2f98932cb77))
|
|
612
|
+
* insertHtml - maxLength ([52d72ec](https://github.com/cycleccc/wangEditor/commit/52d72ec4778a7a6c6f31a7e95d82fb91c9384ae8))
|
|
613
|
+
* insertHtml - maxLength ([b573359](https://github.com/cycleccc/wangEditor/commit/b5733597966b16d876b0c0e18509f04638e1c4df))
|
|
614
|
+
* insertKeys ([0a89420](https://github.com/cycleccc/wangEditor/commit/0a8942050bd0b39afb5bbc55ca7842461a5b98eb))
|
|
615
|
+
* link, text hoverbar 选区问题 ([e0b7438](https://github.com/cycleccc/wangEditor/commit/e0b7438c89a347f1b0b940d9c11150b72d595529))
|
|
616
|
+
* maxLength - 拼音 + 粘贴 ([3ac4db6](https://github.com/cycleccc/wangEditor/commit/3ac4db6d78cbe7a8d1fe19747deb0a17edd9b552))
|
|
617
|
+
* maxLength 对于拼音输入无效 ([117faa6](https://github.com/cycleccc/wangEditor/commit/117faa635e99667c4762b58757f045c80f949323))
|
|
618
|
+
* menu 点击多次才能生效 ([6497e39](https://github.com/cycleccc/wangEditor/commit/6497e39225a993c4d87f9ffddf20086446a4fbc2))
|
|
619
|
+
* min-height ([460fad5](https://github.com/cycleccc/wangEditor/commit/460fad56001e83842786629b1d1f8ed6411f4fd4))
|
|
620
|
+
* modal close ([dbfb3b4](https://github.com/cycleccc/wangEditor/commit/dbfb3b42504ae97aa0f641ff7fe5eba208b43580))
|
|
621
|
+
* normalize when create editor ([2b51962](https://github.com/cycleccc/wangEditor/commit/2b5196244a93ad7beb316bfa42e557221967d063))
|
|
622
|
+
* parse html - 有些 elem children 需要过滤 ([63cbb80](https://github.com/cycleccc/wangEditor/commit/63cbb804c8c7a778a4ee1f4ba8717a11b4b6b5a3))
|
|
623
|
+
* parse-html - space 160 ([54e72bc](https://github.com/cycleccc/wangEditor/commit/54e72bcb5ed38b8dc77e957ebd5d35881466b5b3))
|
|
624
|
+
* parse-html - sub sup ([2c15a5f](https://github.com/cycleccc/wangEditor/commit/2c15a5f9c9c2de8b34770a6bebfe765d203a03f6))
|
|
625
|
+
* parseHtml - 多空格文本 ([5d4479c](https://github.com/cycleccc/wangEditor/commit/5d4479c5d11fc23233ea63f0b69c845fa2ab8630))
|
|
626
|
+
* placeholder - 全选输入中文 ([fe4dd2a](https://github.com/cycleccc/wangEditor/commit/fe4dd2a85d54d64e2411c3dfc6cb90ac18003e28))
|
|
627
|
+
* placeHolder elem ([7d577ac](https://github.com/cycleccc/wangEditor/commit/7d577ac4d6003d1b4c8575be1c014cfa6632d248))
|
|
628
|
+
* readOnly 时菜单还可操作 ([0d4a29b](https://github.com/cycleccc/wangEditor/commit/0d4a29bb5ba8b62ac11a09d3f814abcb1fcf46be))
|
|
629
|
+
* readOnly 依然可以 insertText ([096eeaf](https://github.com/cycleccc/wangEditor/commit/096eeafd0fc62edf196ed3a9549c04ce19b6b159))
|
|
630
|
+
* rename es module filename ([1821d4e](https://github.com/cycleccc/wangEditor/commit/1821d4eef49e64efcb41b848849ca7a5e6472044))
|
|
631
|
+
* shadowDOM 节点支持问题 ([5eb41f1](https://github.com/cycleccc/wangEditor/commit/5eb41f1048ad110003b2ef95e0f22e26b7fd757c))
|
|
632
|
+
* shadowDOM 在失焦状态下元素获取失败 ([98aeccc](https://github.com/cycleccc/wangEditor/commit/98aeccc5be85513d577397642a9a2d2f730a0406))
|
|
633
|
+
* table - 粘贴合并单元格的表格 ([56ecb63](https://github.com/cycleccc/wangEditor/commit/56ecb6392510d433e092653f0f08183361778a3d))
|
|
634
|
+
* table - elemToHtml ([e36e609](https://github.com/cycleccc/wangEditor/commit/e36e6092ef721723169afc8bf0560a47ac9f4dfc))
|
|
635
|
+
* table-cell 全选 ([1ef4872](https://github.com/cycleccc/wangEditor/commit/1ef48729e6d99e7414bc89bc4ef0d66c172fc566))
|
|
636
|
+
* tableCell 中 br 报错 ([8604db7](https://github.com/cycleccc/wangEditor/commit/8604db751b622c01fa5391af59328236cf13effc))
|
|
637
|
+
* td th 中换行不起作用 ([89c6032](https://github.com/cycleccc/wangEditor/commit/89c6032a1c41100b7adaf9927e6bc9c06d0228db))
|
|
638
|
+
* textarea height ([873b04a](https://github.com/cycleccc/wangEditor/commit/873b04a65a7140afdc2427ac07fce57b3e2c423e))
|
|
639
|
+
* tooltip ([7e066d1](https://github.com/cycleccc/wangEditor/commit/7e066d1368f1bfaaca21e3385647be2dee6837f9))
|
|
640
|
+
* upload progress 0 ([9e660be](https://github.com/cycleccc/wangEditor/commit/9e660be126adb969dd8a80166b60d6f62be17b2a))
|
|
641
|
+
* url 后面中文输入异常 ([3bcebc7](https://github.com/cycleccc/wangEditor/commit/3bcebc78352e05cfec92eed92ee0b05d233feaef))
|
|
642
|
+
* void node - 不清理 text ([1bc891c](https://github.com/cycleccc/wangEditor/commit/1bc891c46318f5c5ab969752b3ddb8d75ee1faf7))
|
|
643
|
+
* vue 组件增加 customPaste ([e764248](https://github.com/cycleccc/wangEditor/commit/e76424870c75e09ab6267b604a951444b2e847c5))
|
|
644
|
+
* w-e-menu-tooltip 和 v4 冲突 ([762403b](https://github.com/cycleccc/wangEditor/commit/762403b2c4e860b3855cbc0caa883b1443d3c862))
|
|
645
|
+
* z-index ([02ec2d5](https://github.com/cycleccc/wangEditor/commit/02ec2d54605e747b7d4e1377a58fc9e14c9bba7c))
|
|
627
646
|
|
|
628
647
|
|
|
629
648
|
### Features
|
|
630
649
|
|
|
631
|
-
* 增加 API ([63d6fe8](https://github.com/
|
|
632
|
-
* 增加 enable disable API(删除 setConfig setMenuConfig API) ([984fc50](https://github.com/
|
|
633
|
-
* 支持 nodejs 环境 ([484f18c](https://github.com/
|
|
634
|
-
* API - getElemsByType + move + moveReverse ([748ad71](https://github.com/
|
|
635
|
-
* basic text paste ([f0a5b98](https://github.com/
|
|
636
|
-
* basic text style module ([005b343](https://github.com/
|
|
637
|
-
* bold & header ([8130c23](https://github.com/
|
|
638
|
-
* clear color ([93b1a18](https://github.com/
|
|
639
|
-
* clear editor api ([01b07f2](https://github.com/
|
|
640
|
-
* clearStyle menu ([8002f70](https://github.com/
|
|
641
|
-
* close modal ([b5106f4](https://github.com/
|
|
642
|
-
* code highlight ([42b2f8d](https://github.com/
|
|
643
|
-
* code-block - part ([a8bcd63](https://github.com/
|
|
644
|
-
* create editor ([12d98e4](https://github.com/
|
|
645
|
-
* customPaste ([0f25f5c](https://github.com/
|
|
646
|
-
* dangerouslyInsertHtml ([4dc3d0c](https://github.com/
|
|
647
|
-
* drag resize image ([cd72028](https://github.com/
|
|
648
|
-
* editor 生命周期,自定义事件 ([00e9bc2](https://github.com/
|
|
649
|
-
* editor with-selection plugin ([9f0a39f](https://github.com/
|
|
650
|
-
* editor.alert ([f147c8f](https://github.com/
|
|
651
|
-
* editor.isSelectedAll ([960c845](https://github.com/
|
|
652
|
-
* editor.showProgressBar ([51761d4](https://github.com/
|
|
653
|
-
* focus支持focus到文档末尾 ([628830e](https://github.com/
|
|
654
|
-
* font-size + font-family ([cc649e0](https://github.com/
|
|
655
|
-
* fullScreen ([e7ccd88](https://github.com/
|
|
656
|
-
* getElemsByTypePrefix (删掉 getHeaders) ([c18834b](https://github.com/
|
|
657
|
-
* getHeaders & editor.srcollToElem ([2bfb813](https://github.com/
|
|
658
|
-
* getSelectionText + maxLength ([58f6648](https://github.com/
|
|
659
|
-
* groupButton disabled ([8ffd44c](https://github.com/
|
|
660
|
-
* hover bar ([107356e](https://github.com/
|
|
661
|
-
* i18n ([c11b244](https://github.com/
|
|
662
|
-
* image menu - width 50% 100% ([f9b4c68](https://github.com/
|
|
663
|
-
* image menu config ([bb18774](https://github.com/
|
|
664
|
-
* image menus & position ([bf5beba](https://github.com/
|
|
665
|
-
* indent menu + groupMenu ([08db901](https://github.com/
|
|
666
|
-
* insert link ([b04242f](https://github.com/
|
|
667
|
-
* list menu ([fe6c083](https://github.com/
|
|
668
|
-
* menu color - part ([3a6cc86](https://github.com/
|
|
669
|
-
* menu color & dropPanel & menu config ([5d0d41b](https://github.com/
|
|
670
|
-
* menu hotkey ([fee05f1](https://github.com/
|
|
671
|
-
* modal appendTo body ([fc0ab06](https://github.com/
|
|
672
|
-
* onBlur onFocus ([590ab4a](https://github.com/
|
|
673
|
-
* parse html ([2a5eace](https://github.com/
|
|
674
|
-
* placeholder ([a3e4cdc](https://github.com/
|
|
675
|
-
* react 组件 ([448fc83](https://github.com/
|
|
676
|
-
* scroll config ([b4942b4](https://github.com/
|
|
677
|
-
* selectList ([b7366ab](https://github.com/
|
|
678
|
-
* text and toolbar ([3ae5d0c](https://github.com/
|
|
679
|
-
* toHtml 机制 ([1c4d872](https://github.com/
|
|
680
|
-
* toolbar config - insertKeys ([a2f3c4b](https://github.com/
|
|
681
|
-
* toolbar excludeKeys ([09bd196](https://github.com/
|
|
682
|
-
* tooltip ([994d875](https://github.com/
|
|
683
|
-
* updateLink + unLink + viewLink ([254d554](https://github.com/
|
|
684
|
-
* vue2 组件 ([fd7847a](https://github.com/
|
|
650
|
+
* 增加 API ([63d6fe8](https://github.com/cycleccc/wangEditor/commit/63d6fe85f17fea31c95fec727126799a979ec2f9))
|
|
651
|
+
* 增加 enable disable API(删除 setConfig setMenuConfig API) ([984fc50](https://github.com/cycleccc/wangEditor/commit/984fc50520061fc34ea08f4136bdeb93dee46564))
|
|
652
|
+
* 支持 nodejs 环境 ([484f18c](https://github.com/cycleccc/wangEditor/commit/484f18c3abc70d19e51c556f48491c18d390b1e1))
|
|
653
|
+
* API - getElemsByType + move + moveReverse ([748ad71](https://github.com/cycleccc/wangEditor/commit/748ad710b55d26ade4df1d8caa0a6ea5d2f6f8c7))
|
|
654
|
+
* basic text paste ([f0a5b98](https://github.com/cycleccc/wangEditor/commit/f0a5b980c95fa1e2fc59a898c6e0d0723c276c28))
|
|
655
|
+
* basic text style module ([005b343](https://github.com/cycleccc/wangEditor/commit/005b343573ba98f2d0b8480d034ff6807a499aa3))
|
|
656
|
+
* bold & header ([8130c23](https://github.com/cycleccc/wangEditor/commit/8130c23ad84485a68cf9ca4b53d52fab1cec4e96))
|
|
657
|
+
* clear color ([93b1a18](https://github.com/cycleccc/wangEditor/commit/93b1a189395ba113dfe9f793c69e136607f9a28f))
|
|
658
|
+
* clear editor api ([01b07f2](https://github.com/cycleccc/wangEditor/commit/01b07f2a2250661ef121919192d40a4852d50a91))
|
|
659
|
+
* clearStyle menu ([8002f70](https://github.com/cycleccc/wangEditor/commit/8002f707ed04b914180ec36fdca0edf48c815e01))
|
|
660
|
+
* close modal ([b5106f4](https://github.com/cycleccc/wangEditor/commit/b5106f4428813cf794c468034c80824b0a4f08db))
|
|
661
|
+
* code highlight ([42b2f8d](https://github.com/cycleccc/wangEditor/commit/42b2f8d192e2433593c11ad0b8424737f6cffb58))
|
|
662
|
+
* code-block - part ([a8bcd63](https://github.com/cycleccc/wangEditor/commit/a8bcd63d882832ac05a32878df0f767d145e0fa7))
|
|
663
|
+
* create editor ([12d98e4](https://github.com/cycleccc/wangEditor/commit/12d98e4bee179e9d277ec3ec2ecb827962ed0e75))
|
|
664
|
+
* customPaste ([0f25f5c](https://github.com/cycleccc/wangEditor/commit/0f25f5cae3a2cd5ae5832f3fc1026b3ab6d047e0))
|
|
665
|
+
* dangerouslyInsertHtml ([4dc3d0c](https://github.com/cycleccc/wangEditor/commit/4dc3d0cb403d751ae067a541868e77083c8ce74c))
|
|
666
|
+
* drag resize image ([cd72028](https://github.com/cycleccc/wangEditor/commit/cd72028f1786e2e53079ad5cbef1b8569731ca79))
|
|
667
|
+
* editor 生命周期,自定义事件 ([00e9bc2](https://github.com/cycleccc/wangEditor/commit/00e9bc2cfcb8b622764db1c76394491d72ffd93e))
|
|
668
|
+
* editor with-selection plugin ([9f0a39f](https://github.com/cycleccc/wangEditor/commit/9f0a39fecf6d92888d2a97929820d3be038efb31))
|
|
669
|
+
* editor.alert ([f147c8f](https://github.com/cycleccc/wangEditor/commit/f147c8f234510959c770860ac2f194e8d720f177))
|
|
670
|
+
* editor.isSelectedAll ([960c845](https://github.com/cycleccc/wangEditor/commit/960c8455f85a6bc7350f9944be80b3997bc1fea1))
|
|
671
|
+
* editor.showProgressBar ([51761d4](https://github.com/cycleccc/wangEditor/commit/51761d466ab3ef7c99e872954d4724ab51d8e28c))
|
|
672
|
+
* focus支持focus到文档末尾 ([628830e](https://github.com/cycleccc/wangEditor/commit/628830ef06ff85b3e67001ce30dd9e0557b0aa28))
|
|
673
|
+
* font-size + font-family ([cc649e0](https://github.com/cycleccc/wangEditor/commit/cc649e0918ce58e78b4d5ee49a400197b9d04b70))
|
|
674
|
+
* fullScreen ([e7ccd88](https://github.com/cycleccc/wangEditor/commit/e7ccd88a7dd58f64b7bd484de428e3a76cc994f7))
|
|
675
|
+
* getElemsByTypePrefix (删掉 getHeaders) ([c18834b](https://github.com/cycleccc/wangEditor/commit/c18834b3ebfd97fb36ccbe0faa84e6fe8c30eb67))
|
|
676
|
+
* getHeaders & editor.srcollToElem ([2bfb813](https://github.com/cycleccc/wangEditor/commit/2bfb813e4957f080c6676ec38f8f051275cdf44a))
|
|
677
|
+
* getSelectionText + maxLength ([58f6648](https://github.com/cycleccc/wangEditor/commit/58f66489b65f857238d96b93120f6de7e2750c81))
|
|
678
|
+
* groupButton disabled ([8ffd44c](https://github.com/cycleccc/wangEditor/commit/8ffd44c9a44758e951ca7bd02dd46746fcac1c03))
|
|
679
|
+
* hover bar ([107356e](https://github.com/cycleccc/wangEditor/commit/107356eff7bfaf53ce25e39244f8133c80518375))
|
|
680
|
+
* i18n ([c11b244](https://github.com/cycleccc/wangEditor/commit/c11b2440f91b99d40bca18b675c66a22b6e160c9))
|
|
681
|
+
* image menu - width 50% 100% ([f9b4c68](https://github.com/cycleccc/wangEditor/commit/f9b4c68dff3232b50491b07949c20eb4c18baa6b))
|
|
682
|
+
* image menu config ([bb18774](https://github.com/cycleccc/wangEditor/commit/bb187740e9703b4a76cde4f5e4d32ac714aa793a))
|
|
683
|
+
* image menus & position ([bf5beba](https://github.com/cycleccc/wangEditor/commit/bf5beba7b3014d63f0b9fe0063530c8b101a5011))
|
|
684
|
+
* indent menu + groupMenu ([08db901](https://github.com/cycleccc/wangEditor/commit/08db901cd3a3f2ddb2173cc4b36d471e4e68237e))
|
|
685
|
+
* insert link ([b04242f](https://github.com/cycleccc/wangEditor/commit/b04242ffa252d4088f5360c3de45c24d6f493552))
|
|
686
|
+
* list menu ([fe6c083](https://github.com/cycleccc/wangEditor/commit/fe6c0830b2c43e335e5972f85096f490694bbe19))
|
|
687
|
+
* menu color - part ([3a6cc86](https://github.com/cycleccc/wangEditor/commit/3a6cc86a7f9133d0862310c408abafb30c531734))
|
|
688
|
+
* menu color & dropPanel & menu config ([5d0d41b](https://github.com/cycleccc/wangEditor/commit/5d0d41b9a765a7deb583393f129925414c36ef35))
|
|
689
|
+
* menu hotkey ([fee05f1](https://github.com/cycleccc/wangEditor/commit/fee05f189434d1e57a32ff0dea1a57db6830318a))
|
|
690
|
+
* modal appendTo body ([fc0ab06](https://github.com/cycleccc/wangEditor/commit/fc0ab06d5c7177eceb04643234a8c301ca4de396))
|
|
691
|
+
* onBlur onFocus ([590ab4a](https://github.com/cycleccc/wangEditor/commit/590ab4a990048bb22cf15787a5fd4615db5b9ef6))
|
|
692
|
+
* parse html ([2a5eace](https://github.com/cycleccc/wangEditor/commit/2a5eace00f33cded50b68e8164748ec2480213fd))
|
|
693
|
+
* placeholder ([a3e4cdc](https://github.com/cycleccc/wangEditor/commit/a3e4cdcd474063e4f436327aaf4074bb2126d941))
|
|
694
|
+
* react 组件 ([448fc83](https://github.com/cycleccc/wangEditor/commit/448fc838d64dbef52cbcddde0e98eb021d8a9122))
|
|
695
|
+
* scroll config ([b4942b4](https://github.com/cycleccc/wangEditor/commit/b4942b4334f255b3d537389be3dacf1642dd5441))
|
|
696
|
+
* selectList ([b7366ab](https://github.com/cycleccc/wangEditor/commit/b7366ab2dafd379145d85881052d6f400bd13c85))
|
|
697
|
+
* text and toolbar ([3ae5d0c](https://github.com/cycleccc/wangEditor/commit/3ae5d0c4138fec7397ac8629e0012affe6b7dfa4))
|
|
698
|
+
* toHtml 机制 ([1c4d872](https://github.com/cycleccc/wangEditor/commit/1c4d8729f84aaab6a448f23064b34a20596305e9))
|
|
699
|
+
* toolbar config - insertKeys ([a2f3c4b](https://github.com/cycleccc/wangEditor/commit/a2f3c4be3762831723495bbc9d50eb6c9b05d195))
|
|
700
|
+
* toolbar excludeKeys ([09bd196](https://github.com/cycleccc/wangEditor/commit/09bd196ea24c19b04e5e7e38227ca94332847bf8))
|
|
701
|
+
* tooltip ([994d875](https://github.com/cycleccc/wangEditor/commit/994d875fee81cf01271c2e440c1df202aa067d0e))
|
|
702
|
+
* updateLink + unLink + viewLink ([254d554](https://github.com/cycleccc/wangEditor/commit/254d55466b3c8527dd9f0bf34681abd801c8c8ce))
|
|
703
|
+
* vue2 组件 ([fd7847a](https://github.com/cycleccc/wangEditor/commit/fd7847a72db661bbf29cf636d454c075fd331224))
|
package/README.md
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -292,7 +292,7 @@ var shouldClear = op => {
|
|
|
292
292
|
return true;
|
|
293
293
|
};
|
|
294
294
|
|
|
295
|
-
|
|
295
|
+
/******************************************************************************
|
|
296
296
|
Copyright (c) Microsoft Corporation.
|
|
297
297
|
|
|
298
298
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -306,7 +306,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
306
306
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
307
307
|
PERFORMANCE OF THIS SOFTWARE.
|
|
308
308
|
***************************************************************************** */
|
|
309
|
-
/* global Reflect, Promise */
|
|
309
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
310
310
|
|
|
311
311
|
var extendStatics = function(d, b) {
|
|
312
312
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -363,11 +363,20 @@ function __read(o, n) {
|
|
|
363
363
|
return ar;
|
|
364
364
|
}
|
|
365
365
|
|
|
366
|
-
function __spreadArray(to, from) {
|
|
367
|
-
for (var i = 0,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
366
|
+
function __spreadArray(to, from, pack) {
|
|
367
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
368
|
+
if (ar || !(i in from)) {
|
|
369
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
370
|
+
ar[i] = from[i];
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
377
|
+
var e = new Error(message);
|
|
378
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
379
|
+
};
|
|
371
380
|
|
|
372
381
|
/**
|
|
373
382
|
* An auto-incrementing identifier for keys.
|
|
@@ -2802,9 +2811,13 @@ var withContent = function (editor) {
|
|
|
2802
2811
|
if (!DomEditor.isSelectedEmptyParagraph(e)) {
|
|
2803
2812
|
// 当前不是空行,且 非 inline - 则换行
|
|
2804
2813
|
if (display.indexOf('inline') < 0) {
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2814
|
+
if (index >= 1) {
|
|
2815
|
+
var prevEl = domNodes[index - 1];
|
|
2816
|
+
// 如果是 list 列表需要多插入一个回车,模拟双回车删除空 list
|
|
2817
|
+
if ('matches' in prevEl &&
|
|
2818
|
+
prevEl.matches('ul:not([data-w-e-type]),ol:not([data-w-e-type])')) {
|
|
2819
|
+
e.insertBreak();
|
|
2820
|
+
}
|
|
2808
2821
|
}
|
|
2809
2822
|
e.insertBreak();
|
|
2810
2823
|
}
|
package/dist/index.js
CHANGED
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
};
|
|
314
314
|
var withHistory_1 = withHistory;
|
|
315
315
|
|
|
316
|
-
|
|
316
|
+
/******************************************************************************
|
|
317
317
|
Copyright (c) Microsoft Corporation.
|
|
318
318
|
|
|
319
319
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
328
328
|
PERFORMANCE OF THIS SOFTWARE.
|
|
329
329
|
***************************************************************************** */
|
|
330
|
-
/* global Reflect, Promise */
|
|
330
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
331
331
|
|
|
332
332
|
var extendStatics = function(d, b) {
|
|
333
333
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -384,11 +384,20 @@
|
|
|
384
384
|
return ar;
|
|
385
385
|
}
|
|
386
386
|
|
|
387
|
-
function __spreadArray(to, from) {
|
|
388
|
-
for (var i = 0,
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
387
|
+
function __spreadArray(to, from, pack) {
|
|
388
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
389
|
+
if (ar || !(i in from)) {
|
|
390
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
391
|
+
ar[i] = from[i];
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
398
|
+
var e = new Error(message);
|
|
399
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
400
|
+
};
|
|
392
401
|
|
|
393
402
|
/**
|
|
394
403
|
* An auto-incrementing identifier for keys.
|
|
@@ -2823,9 +2832,13 @@
|
|
|
2823
2832
|
if (!DomEditor.isSelectedEmptyParagraph(e)) {
|
|
2824
2833
|
// 当前不是空行,且 非 inline - 则换行
|
|
2825
2834
|
if (display.indexOf('inline') < 0) {
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2835
|
+
if (index >= 1) {
|
|
2836
|
+
var prevEl = domNodes[index - 1];
|
|
2837
|
+
// 如果是 list 列表需要多插入一个回车,模拟双回车删除空 list
|
|
2838
|
+
if ('matches' in prevEl &&
|
|
2839
|
+
prevEl.matches('ul:not([data-w-e-type]),ol:not([data-w-e-type])')) {
|
|
2840
|
+
e.insertBreak();
|
|
2841
|
+
}
|
|
2829
2842
|
}
|
|
2830
2843
|
e.insertBreak();
|
|
2831
2844
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wangeditor-next/core",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "wangEditor core",
|
|
5
5
|
"author": "cycleccc <2991205548@qq.com>",
|
|
6
6
|
"contributors": [],
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/is-hotkey": "^0.1.2"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "319d89e18d6e776c2470451db3f2416e56e78554"
|
|
70
70
|
}
|