@ckeditor/ckeditor5-track-changes 44.1.0 → 44.2.0-alpha.1
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/LICENSE.md +2 -2
- package/README.md +1 -1
- package/build/track-changes.js +3 -3
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/ckeditor5-metadata.json +7 -0
- package/dist/index-content.css +3 -2
- package/dist/index-editor.css +13 -2
- package/dist/index.css +24 -2
- package/dist/index.js +4 -4
- package/dist/translations/af.d.ts +2 -2
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +2 -2
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +2 -2
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +2 -2
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/bg.d.ts +2 -2
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +2 -2
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +2 -2
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +2 -2
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +2 -2
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +2 -2
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +2 -2
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +2 -2
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +2 -2
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +2 -2
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +2 -2
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +2 -2
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +2 -2
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +2 -2
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +2 -2
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +2 -2
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +2 -2
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +2 -2
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +2 -2
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +2 -2
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +2 -2
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +2 -2
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +2 -2
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +2 -2
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +2 -2
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +2 -2
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +2 -2
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +2 -2
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +2 -2
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +2 -2
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +2 -2
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +2 -2
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +2 -2
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +2 -2
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +2 -2
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +2 -2
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +2 -2
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +2 -2
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +2 -2
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +2 -2
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +2 -2
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +2 -2
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +2 -2
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +2 -2
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +2 -2
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +2 -2
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +2 -2
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +2 -2
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +2 -2
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +2 -2
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +2 -2
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +2 -2
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +2 -2
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/contexts.json +3 -1
- package/lang/translations/af.po +13 -5
- package/lang/translations/ar.po +13 -5
- package/lang/translations/ast.po +13 -5
- package/lang/translations/az.po +13 -5
- package/lang/translations/bg.po +13 -5
- package/lang/translations/bn.po +13 -5
- package/lang/translations/bs.po +13 -5
- package/lang/translations/ca.po +13 -5
- package/lang/translations/cs.po +13 -5
- package/lang/translations/da.po +13 -5
- package/lang/translations/de-ch.po +13 -5
- package/lang/translations/de.po +13 -5
- package/lang/translations/el.po +13 -5
- package/lang/translations/en-au.po +13 -5
- package/lang/translations/en-gb.po +13 -5
- package/lang/translations/en.po +13 -5
- package/lang/translations/eo.po +13 -5
- package/lang/translations/es-co.po +13 -5
- package/lang/translations/es.po +13 -5
- package/lang/translations/et.po +13 -5
- package/lang/translations/eu.po +13 -5
- package/lang/translations/fa.po +13 -5
- package/lang/translations/fi.po +13 -5
- package/lang/translations/fr.po +13 -5
- package/lang/translations/gl.po +13 -5
- package/lang/translations/gu.po +13 -5
- package/lang/translations/he.po +13 -5
- package/lang/translations/hi.po +13 -5
- package/lang/translations/hr.po +13 -5
- package/lang/translations/hu.po +13 -5
- package/lang/translations/hy.po +13 -5
- package/lang/translations/id.po +13 -5
- package/lang/translations/it.po +13 -5
- package/lang/translations/ja.po +13 -5
- package/lang/translations/jv.po +13 -5
- package/lang/translations/kk.po +13 -5
- package/lang/translations/km.po +13 -5
- package/lang/translations/kn.po +13 -5
- package/lang/translations/ko.po +13 -5
- package/lang/translations/ku.po +13 -5
- package/lang/translations/lt.po +13 -5
- package/lang/translations/lv.po +13 -5
- package/lang/translations/ms.po +13 -5
- package/lang/translations/nb.po +13 -5
- package/lang/translations/ne.po +13 -5
- package/lang/translations/nl.po +13 -5
- package/lang/translations/no.po +13 -5
- package/lang/translations/oc.po +13 -5
- package/lang/translations/pl.po +13 -5
- package/lang/translations/pt-br.po +13 -5
- package/lang/translations/pt.po +13 -5
- package/lang/translations/ro.po +13 -5
- package/lang/translations/ru.po +13 -5
- package/lang/translations/si.po +13 -5
- package/lang/translations/sk.po +13 -5
- package/lang/translations/sl.po +13 -5
- package/lang/translations/sq.po +13 -5
- package/lang/translations/sr-latn.po +13 -5
- package/lang/translations/sr.po +13 -5
- package/lang/translations/sv.po +13 -5
- package/lang/translations/th.po +13 -5
- package/lang/translations/ti.po +13 -5
- package/lang/translations/tk.po +13 -5
- package/lang/translations/tr.po +13 -5
- package/lang/translations/tt.po +13 -5
- package/lang/translations/ug.po +13 -5
- package/lang/translations/uk.po +13 -5
- package/lang/translations/ur.po +13 -5
- package/lang/translations/uz.po +13 -5
- package/lang/translations/vi.po +13 -5
- package/lang/translations/zh-cn.po +13 -5
- package/lang/translations/zh.po +13 -5
- package/package.json +47 -10
- package/src/augmentation.d.ts +4 -2
- package/src/augmentation.js +1 -1
- package/src/commands/acceptsuggestioncommand.d.ts +1 -1
- package/src/commands/acceptsuggestioncommand.js +2 -2
- package/src/commands/discardsuggestioncommand.d.ts +1 -1
- package/src/commands/discardsuggestioncommand.js +2 -2
- package/src/commands/executeonallsuggestionscommand.d.ts +1 -1
- package/src/commands/executeonallsuggestionscommand.js +2 -2
- package/src/commands/executeonselectedsuggestionscommand.d.ts +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +2 -2
- package/src/commands/previewfinalcontentcommand.d.ts +26 -0
- package/src/commands/previewfinalcontentcommand.js +23 -0
- package/src/commands/trackchangescommand.d.ts +1 -1
- package/src/commands/trackchangescommand.js +2 -2
- package/src/index.d.ts +3 -1
- package/src/index.js +2 -2
- package/src/integrations/aiassistant.d.ts +1 -1
- package/src/integrations/aiassistant.js +2 -2
- package/src/integrations/alignment.d.ts +1 -1
- package/src/integrations/alignment.js +2 -2
- package/src/integrations/basicstyles.d.ts +1 -1
- package/src/integrations/basicstyles.js +2 -2
- package/src/integrations/blockquote.d.ts +1 -1
- package/src/integrations/blockquote.js +2 -2
- package/src/integrations/bookmark.d.ts +1 -1
- package/src/integrations/bookmark.js +2 -2
- package/src/integrations/casechange.d.ts +1 -1
- package/src/integrations/casechange.js +2 -2
- package/src/integrations/ckbox.d.ts +1 -1
- package/src/integrations/ckbox.js +2 -2
- package/src/integrations/codeblock.d.ts +1 -1
- package/src/integrations/codeblock.js +2 -2
- package/src/integrations/comments.d.ts +1 -1
- package/src/integrations/comments.js +2 -2
- package/src/integrations/deletecommand.d.ts +1 -1
- package/src/integrations/deletecommand.js +2 -2
- package/src/integrations/entercommand.d.ts +1 -1
- package/src/integrations/entercommand.js +2 -2
- package/src/integrations/findandreplace.d.ts +1 -1
- package/src/integrations/findandreplace.js +2 -2
- package/src/integrations/font.d.ts +1 -1
- package/src/integrations/font.js +2 -2
- package/src/integrations/formatpainter.d.ts +1 -1
- package/src/integrations/formatpainter.js +2 -2
- package/src/integrations/heading.d.ts +1 -1
- package/src/integrations/heading.js +2 -2
- package/src/integrations/highlight.d.ts +1 -1
- package/src/integrations/highlight.js +2 -2
- package/src/integrations/horizontalline.d.ts +1 -1
- package/src/integrations/horizontalline.js +2 -2
- package/src/integrations/htmlembed.d.ts +1 -1
- package/src/integrations/htmlembed.js +2 -2
- package/src/integrations/image.d.ts +1 -1
- package/src/integrations/image.js +2 -2
- package/src/integrations/imagereplace.d.ts +1 -1
- package/src/integrations/imagereplace.js +2 -2
- package/src/integrations/imagestyle.d.ts +1 -1
- package/src/integrations/imagestyle.js +2 -2
- package/src/integrations/importword.d.ts +1 -1
- package/src/integrations/importword.js +2 -2
- package/src/integrations/indent.d.ts +1 -1
- package/src/integrations/indent.js +2 -2
- package/src/integrations/inputcommand.d.ts +1 -1
- package/src/integrations/inputcommand.js +2 -2
- package/src/integrations/legacylist.d.ts +1 -1
- package/src/integrations/legacylist.js +2 -2
- package/src/integrations/legacylistproperties.d.ts +1 -1
- package/src/integrations/legacylistproperties.js +2 -2
- package/src/integrations/link.d.ts +1 -1
- package/src/integrations/link.js +2 -2
- package/src/integrations/list.d.ts +1 -1
- package/src/integrations/list.js +2 -2
- package/src/integrations/listproperties.d.ts +1 -1
- package/src/integrations/listproperties.js +2 -2
- package/src/integrations/mediaembed.d.ts +1 -1
- package/src/integrations/mediaembed.js +2 -2
- package/src/integrations/mention.d.ts +1 -1
- package/src/integrations/mention.js +2 -2
- package/src/integrations/mergefields.d.ts +1 -1
- package/src/integrations/mergefields.js +2 -2
- package/src/integrations/multilevellist.d.ts +1 -1
- package/src/integrations/multilevellist.js +2 -2
- package/src/integrations/pagebreak.d.ts +1 -1
- package/src/integrations/pagebreak.js +2 -2
- package/src/integrations/paragraph.d.ts +1 -1
- package/src/integrations/paragraph.js +2 -2
- package/src/integrations/removeformat.d.ts +1 -1
- package/src/integrations/removeformat.js +2 -2
- package/src/integrations/restrictededitingmode.d.ts +1 -1
- package/src/integrations/restrictededitingmode.js +2 -2
- package/src/integrations/shiftentercommand.d.ts +1 -1
- package/src/integrations/shiftentercommand.js +2 -2
- package/src/integrations/standardeditingmode.d.ts +1 -1
- package/src/integrations/standardeditingmode.js +2 -2
- package/src/integrations/style.d.ts +1 -1
- package/src/integrations/style.js +2 -2
- package/src/integrations/table.d.ts +1 -1
- package/src/integrations/table.js +2 -2
- package/src/integrations/tablecaption.d.ts +1 -1
- package/src/integrations/tablecaption.js +2 -2
- package/src/integrations/tableclipboard.d.ts +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.d.ts +1 -1
- package/src/integrations/tablecolumnresize.js +2 -2
- package/src/integrations/tableheadings.d.ts +1 -1
- package/src/integrations/tableheadings.js +2 -2
- package/src/integrations/tablemergesplit.d.ts +1 -1
- package/src/integrations/tablemergesplit.js +2 -2
- package/src/integrations/tableofcontents.d.ts +1 -1
- package/src/integrations/tableofcontents.js +2 -2
- package/src/integrations/tableproperties.d.ts +1 -1
- package/src/integrations/tableproperties.js +2 -2
- package/src/integrations/template.d.ts +1 -1
- package/src/integrations/template.js +2 -2
- package/src/integrations/title.d.ts +1 -1
- package/src/integrations/title.js +2 -2
- package/src/integrations/undo.d.ts +1 -1
- package/src/integrations/undo.js +2 -2
- package/src/integrations/uploadcare.d.ts +17 -0
- package/src/integrations/uploadcare.js +23 -0
- package/src/integrations/utils.d.ts +1 -1
- package/src/integrations/utils.js +2 -2
- package/src/suggestion.d.ts +1 -1
- package/src/suggestion.js +3 -3
- package/src/suggestiondescriptionfactory.d.ts +1 -1
- package/src/suggestiondescriptionfactory.js +2 -2
- package/src/trackchanges.d.ts +1 -1
- package/src/trackchanges.js +2 -2
- package/src/trackchangesconfig.d.ts +23 -1
- package/src/trackchangesconfig.js +1 -1
- package/src/trackchangesdata.d.ts +2 -2
- package/src/trackchangesdata.js +2 -2
- package/src/trackchangesediting.d.ts +3 -2
- package/src/trackchangesediting.js +2 -2
- package/src/trackchangespreview.d.ts +31 -0
- package/src/trackchangespreview.js +23 -0
- package/src/trackchangesui.d.ts +1 -1
- package/src/trackchangesui.js +2 -2
- package/src/ui/suggestioncontroller.d.ts +1 -1
- package/src/ui/suggestioncontroller.js +3 -3
- package/src/ui/view/basesuggestionthreadview.d.ts +1 -1
- package/src/ui/view/basesuggestionthreadview.js +2 -2
- package/src/ui/view/suggestionthreadview.d.ts +1 -1
- package/src/ui/view/suggestionthreadview.js +2 -2
- package/src/ui/view/suggestionview.d.ts +1 -1
- package/src/ui/view/suggestionview.js +2 -2
- package/src/ui/view/trackchangespreviewview.d.ts +48 -0
- package/src/ui/view/trackchangespreviewview.js +23 -0
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +2 -2
- package/src/utils/utils.d.ts +1 -1
- package/src/utils/utils.js +2 -2
- package/theme/icons/track-changes-accept.svg +1 -1
- package/theme/icons/track-changes-discard.svg +1 -1
- package/theme/icons/track-changes.svg +1 -1
- package/theme/trackchangespreview.css +22 -0
- package/dist/augmentation.d.ts +0 -46
- package/dist/commands/acceptsuggestioncommand.d.ts +0 -28
- package/dist/commands/discardsuggestioncommand.d.ts +0 -28
- package/dist/commands/executeonallsuggestionscommand.d.ts +0 -28
- package/dist/commands/executeonselectedsuggestionscommand.d.ts +0 -28
- package/dist/commands/trackchangescommand.d.ts +0 -30
- package/dist/index.d.ts +0 -23
- package/dist/integrations/aiassistant.d.ts +0 -21
- package/dist/integrations/alignment.d.ts +0 -21
- package/dist/integrations/basicstyles.d.ts +0 -21
- package/dist/integrations/blockquote.d.ts +0 -21
- package/dist/integrations/bookmark.d.ts +0 -21
- package/dist/integrations/casechange.d.ts +0 -21
- package/dist/integrations/ckbox.d.ts +0 -21
- package/dist/integrations/codeblock.d.ts +0 -21
- package/dist/integrations/comments.d.ts +0 -18
- package/dist/integrations/deletecommand.d.ts +0 -21
- package/dist/integrations/entercommand.d.ts +0 -20
- package/dist/integrations/findandreplace.d.ts +0 -25
- package/dist/integrations/font.d.ts +0 -21
- package/dist/integrations/formatpainter.d.ts +0 -21
- package/dist/integrations/heading.d.ts +0 -21
- package/dist/integrations/highlight.d.ts +0 -21
- package/dist/integrations/horizontalline.d.ts +0 -21
- package/dist/integrations/htmlembed.d.ts +0 -21
- package/dist/integrations/image.d.ts +0 -21
- package/dist/integrations/imagereplace.d.ts +0 -21
- package/dist/integrations/imagestyle.d.ts +0 -21
- package/dist/integrations/importword.d.ts +0 -22
- package/dist/integrations/indent.d.ts +0 -21
- package/dist/integrations/inputcommand.d.ts +0 -20
- package/dist/integrations/legacylist.d.ts +0 -21
- package/dist/integrations/legacylistproperties.d.ts +0 -33
- package/dist/integrations/link.d.ts +0 -21
- package/dist/integrations/list.d.ts +0 -21
- package/dist/integrations/listproperties.d.ts +0 -24
- package/dist/integrations/mediaembed.d.ts +0 -21
- package/dist/integrations/mention.d.ts +0 -21
- package/dist/integrations/mergefields.d.ts +0 -21
- package/dist/integrations/multilevellist.d.ts +0 -28
- package/dist/integrations/pagebreak.d.ts +0 -21
- package/dist/integrations/paragraph.d.ts +0 -21
- package/dist/integrations/removeformat.d.ts +0 -21
- package/dist/integrations/restrictededitingmode.d.ts +0 -21
- package/dist/integrations/shiftentercommand.d.ts +0 -20
- package/dist/integrations/standardeditingmode.d.ts +0 -21
- package/dist/integrations/style.d.ts +0 -21
- package/dist/integrations/table.d.ts +0 -46
- package/dist/integrations/tablecaption.d.ts +0 -26
- package/dist/integrations/tableclipboard.d.ts +0 -23
- package/dist/integrations/tablecolumnresize.d.ts +0 -30
- package/dist/integrations/tableheadings.d.ts +0 -26
- package/dist/integrations/tablemergesplit.d.ts +0 -26
- package/dist/integrations/tableofcontents.d.ts +0 -21
- package/dist/integrations/tableproperties.d.ts +0 -39
- package/dist/integrations/template.d.ts +0 -21
- package/dist/integrations/title.d.ts +0 -21
- package/dist/integrations/undo.d.ts +0 -21
- package/dist/integrations/utils.d.ts +0 -21
- package/dist/suggestion.d.ts +0 -295
- package/dist/suggestiondescriptionfactory.d.ts +0 -187
- package/dist/trackchanges.d.ts +0 -192
- package/dist/trackchangesconfig.d.ts +0 -89
- package/dist/trackchangesdata.d.ts +0 -53
- package/dist/trackchangesediting.d.ts +0 -563
- package/dist/trackchangesui.d.ts +0 -50
- package/dist/ui/suggestioncontroller.d.ts +0 -41
- package/dist/ui/view/basesuggestionthreadview.d.ts +0 -209
- package/dist/ui/view/suggestionthreadview.d.ts +0 -98
- package/dist/ui/view/suggestionview.d.ts +0 -194
- package/dist/utils/common-translations.d.ts +0 -13
- package/dist/utils/utils.d.ts +0 -41
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module track-changes/trackchangesconfig
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import type SuggestionThreadView from './ui/view/suggestionthreadview.js';
|
|
14
|
-
import type SuggestionView from './ui/view/suggestionview.js';
|
|
15
|
-
/**
|
|
16
|
-
* The configuration of the track changes feature.
|
|
17
|
-
*
|
|
18
|
-
* Example:
|
|
19
|
-
*
|
|
20
|
-
* ```ts
|
|
21
|
-
* ClassicEditor
|
|
22
|
-
* .create( {
|
|
23
|
-
* // Track changes feature configuration.
|
|
24
|
-
* trackChanges: {
|
|
25
|
-
* // Do not allow users to comment suggestions (default is `false`).
|
|
26
|
-
* disableComments: true,
|
|
27
|
-
* // Do not track styling and formatting changes (default is `default`).
|
|
28
|
-
* trackFormatChanges: 'never',
|
|
29
|
-
* // Merges suggestion changes inside a block. (default is `true`).
|
|
30
|
-
* mergeNestedSuggestions: true
|
|
31
|
-
* }
|
|
32
|
-
* } )
|
|
33
|
-
* .then( ... )
|
|
34
|
-
* .catch( ... );
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
38
|
-
*/
|
|
39
|
-
export interface TrackChangesConfig {
|
|
40
|
-
/**
|
|
41
|
-
* A property that specifies if the comments for suggestions are enabled or disabled.
|
|
42
|
-
* When the option is set to `true`, the comment thread UI for suggestions will be hidden
|
|
43
|
-
* and commenting suggestions will be disabled.
|
|
44
|
-
*
|
|
45
|
-
* Suggestion thread views will be marked with the additional `ck-suggestion--disabled-comments` class when the suggestion comments
|
|
46
|
-
* are disabled.
|
|
47
|
-
*/
|
|
48
|
-
disableComments: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* A property that specifies whether formatting changes should be tracked.
|
|
51
|
-
*
|
|
52
|
-
* Formatting changes are all changes other than insertions and deletions, including: styling, structure, widgets properties, etc.
|
|
53
|
-
*
|
|
54
|
-
* By default, formatting changes are tracked. However, if you make a formatting change inside your own insertion suggestion, it
|
|
55
|
-
* is immediately applied, without creating a suggestion.
|
|
56
|
-
*
|
|
57
|
-
* Possible values are:
|
|
58
|
-
*
|
|
59
|
-
* * `'default'` - format changes are tracked, but when made inside your own insertion suggestion, they will be immediately applied.
|
|
60
|
-
* * `'always'` - format changes will always be tracked, even inside your own insertion suggestion.
|
|
61
|
-
* * `'never'` - format changes will never be tracked (suggestions for such changes will not be created).
|
|
62
|
-
*
|
|
63
|
-
* Defaults to `'default'`.
|
|
64
|
-
*/
|
|
65
|
-
trackFormatChanges: 'never' | 'default' | 'always';
|
|
66
|
-
/**
|
|
67
|
-
* Specifies whether suggestions on an object (e.g. image, table) should be automatically merged
|
|
68
|
-
* with suggestions inside the object (e.g. image caption, table cell).
|
|
69
|
-
*
|
|
70
|
-
* For example, when set to `true`, creating a table and writing some text inside the table will result in one suggestion.
|
|
71
|
-
* When set to `false`, it will be two separate suggestions, one for the inserted table and one for the inserted text.
|
|
72
|
-
*
|
|
73
|
-
* Keep in mind that only suggestions from the same author and of the same type are merged this way.
|
|
74
|
-
*/
|
|
75
|
-
mergeNestedSuggestions: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* A view class to be used to create suggestion thread views.
|
|
78
|
-
*
|
|
79
|
-
* {@link module:track-changes/ui/view/suggestionthreadview~SuggestionThreadView} is used by default
|
|
80
|
-
* when this property is not set.
|
|
81
|
-
*/
|
|
82
|
-
SuggestionThreadView?: typeof SuggestionThreadView;
|
|
83
|
-
/**
|
|
84
|
-
* A view class to be used to create the suggestion view.
|
|
85
|
-
*
|
|
86
|
-
* {@link module:track-changes/ui/view/suggestionview~SuggestionView} is used by default when this property is not set.
|
|
87
|
-
*/
|
|
88
|
-
SuggestionView?: typeof SuggestionView;
|
|
89
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module track-changes/trackchangesdata
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
|
-
import TrackChangesEditing from './trackchangesediting.js';
|
|
15
|
-
/**
|
|
16
|
-
* This plugin returns the editor data with accepted or discarded suggestions without modifying the editor content.
|
|
17
|
-
*/
|
|
18
|
-
export default class TrackChangesData extends Plugin {
|
|
19
|
-
/**
|
|
20
|
-
* @inheritDoc
|
|
21
|
-
*/
|
|
22
|
-
static get requires(): readonly [typeof TrackChangesEditing];
|
|
23
|
-
/**
|
|
24
|
-
* @inheritDoc
|
|
25
|
-
*/
|
|
26
|
-
static get pluginName(): "TrackChangesData";
|
|
27
|
-
/**
|
|
28
|
-
* @inheritDoc
|
|
29
|
-
*/
|
|
30
|
-
static get isOfficialPlugin(): true;
|
|
31
|
-
/**
|
|
32
|
-
* @inheritDoc
|
|
33
|
-
*/
|
|
34
|
-
static get isPremiumPlugin(): true;
|
|
35
|
-
/**
|
|
36
|
-
* @inheritDoc
|
|
37
|
-
*/
|
|
38
|
-
init(): void;
|
|
39
|
-
/**
|
|
40
|
-
* Returns the editor data with all the suggestions accepted.
|
|
41
|
-
*
|
|
42
|
-
* @param options Options for {@link module:engine/controller/datacontroller~DataController#get}.
|
|
43
|
-
* @returns A promise which resolves with the output data.
|
|
44
|
-
*/
|
|
45
|
-
getDataWithAcceptedSuggestions(options: Record<string, unknown>): Promise<string | Record<string, string>>;
|
|
46
|
-
/**
|
|
47
|
-
* Returns the editor data with all the suggestions discarded.
|
|
48
|
-
*
|
|
49
|
-
* @param options Options for {@link module:engine/controller/datacontroller~DataController#get}.
|
|
50
|
-
* @returns A promise which resolves with the output data.
|
|
51
|
-
*/
|
|
52
|
-
getDataWithDiscardedSuggestions(options: Record<string, unknown>): Promise<string | Record<string, string>>;
|
|
53
|
-
}
|