jodit 3.8.2 → 3.8.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/.idea/workspace.xml +153 -155
- package/CHANGELOG.MD +36 -9
- package/app.css +2 -1
- package/build/jodit.css +73 -73
- package/build/jodit.es2018.css +56 -56
- package/build/jodit.es2018.en.css +56 -56
- package/build/jodit.es2018.en.js +172 -84
- package/build/jodit.es2018.en.min.css +1 -1
- package/build/jodit.es2018.en.min.js +2 -2
- package/build/jodit.es2018.js +172 -84
- package/build/jodit.es2018.min.css +1 -1
- package/build/jodit.es2018.min.js +2 -2
- package/build/jodit.js +835 -742
- package/build/jodit.min.css +2 -2
- package/build/jodit.min.js +2 -2
- package/package.json +7 -7
- package/src/config.ts +4 -4
- package/src/core/create.ts +15 -15
- package/src/core/helpers/css.ts +3 -5
- package/src/core/helpers/html/strip-tags.ts +36 -4
- package/src/core/helpers/selector.ts +6 -8
- package/src/core/helpers/size/get-scroll-parent.ts +28 -0
- package/src/core/helpers/size/index.ts +1 -0
- package/src/core/selection/select.ts +35 -45
- package/src/core/ui/button/button/button.less +4 -1
- package/src/core/ui/button/button/button.ts +6 -8
- package/src/core/ui/popup/popup.less +4 -4
- package/src/core/ui/popup/popup.ts +17 -7
- package/src/core/view/view-with-toolbar.less +3 -2
- package/src/jodit.ts +6 -3
- package/src/modules/dialog/dialog.ts +1 -2
- package/src/modules/file-browser/builders/context-menu.ts +1 -1
- package/src/modules/file-browser/listeners/state-listeners.ts +2 -1
- package/src/modules/file-browser/styles/preview.less +17 -14
- package/src/modules/widget/color-picker/color-picker.less +12 -11
- package/src/modules/widget/color-picker/color-picker.ts +20 -30
- package/src/plugins/clipboard/paste-storage/paste-storage.ts +9 -20
- package/src/plugins/fix/clean-html.ts +36 -3
- package/src/plugins/iframe.ts +12 -2
- package/src/plugins/link/link.ts +14 -2
- package/src/plugins/resizer/resizer.ts +22 -4
- package/src/plugins/size/resize-handler.ts +1 -1
- package/src/plugins/size/size.less +10 -7
- package/src/plugins/symbols/symbols.less +12 -7
- package/src/plugins/symbols/symbols.ts +9 -6
- package/src/plugins/xpath/xpath.ts +1 -1
- package/src/styles/jodit.less +1 -1
- package/src/types/ui.d.ts +9 -1
package/.idea/workspace.xml
CHANGED
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
</component>
|
|
10
10
|
<component name="ChangeListManager">
|
|
11
11
|
<list default="true" id="5da7ff7f-03a8-49de-9fbb-8f8640d83b83" name="Default Changelist" comment="">
|
|
12
|
-
<change beforePath="$PROJECT_DIR$/
|
|
12
|
+
<change beforePath="$PROJECT_DIR$/test/bootstrap.js" beforeDir="false" afterPath="$PROJECT_DIR$/test/bootstrap.js" afterDir="false" />
|
|
13
|
+
<change beforePath="$PROJECT_DIR$/test/tests/acceptance/filebrowserTest.js" beforeDir="false" afterPath="$PROJECT_DIR$/test/tests/acceptance/filebrowserTest.js" afterDir="false" />
|
|
14
|
+
<change beforePath="$PROJECT_DIR$/test/tests/acceptance/uploaderTest.js" beforeDir="false" afterPath="$PROJECT_DIR$/test/tests/acceptance/uploaderTest.js" afterDir="false" />
|
|
13
15
|
</list>
|
|
14
16
|
<list id="5049e1d4-15bc-4e3a-b46b-d2ce7537fc13" name="Revert "Some small fixes"" comment="Revert "Some small fixes" This reverts commit bc391ec6" />
|
|
15
17
|
<option name="SHOW_DIALOG" value="false" />
|
|
@@ -694,140 +696,8 @@
|
|
|
694
696
|
<workItem from="1632752728433" duration="521000" />
|
|
695
697
|
<workItem from="1632859817958" duration="58229000" />
|
|
696
698
|
<workItem from="1633188444401" duration="7041000" />
|
|
697
|
-
<workItem from="1633206768886" duration="
|
|
698
|
-
|
|
699
|
-
<task id="LOCAL-00746" summary="Fixed isUrl add rtmp schema #677 issue: https://github.com/xdan/jodit/issues/677">
|
|
700
|
-
<created>1621876169510</created>
|
|
701
|
-
<option name="number" value="00746" />
|
|
702
|
-
<option name="presentableId" value="LOCAL-00746" />
|
|
703
|
-
<option name="project" value="LOCAL" />
|
|
704
|
-
<updated>1621876169510</updated>
|
|
705
|
-
</task>
|
|
706
|
-
<task id="LOCAL-00747" summary="The editor is very slow when working with tables in IE #673 issue: https://github.com/xdan/jodit/issues/673">
|
|
707
|
-
<created>1621878788452</created>
|
|
708
|
-
<option name="number" value="00747" />
|
|
709
|
-
<option name="presentableId" value="LOCAL-00747" />
|
|
710
|
-
<option name="project" value="LOCAL" />
|
|
711
|
-
<updated>1621878788452</updated>
|
|
712
|
-
</task>
|
|
713
|
-
<task id="LOCAL-00748" summary="The editor is very slow when working with tables in IE #673 issue: https://github.com/xdan/jodit/issues/673">
|
|
714
|
-
<created>1621878811748</created>
|
|
715
|
-
<option name="number" value="00748" />
|
|
716
|
-
<option name="presentableId" value="LOCAL-00748" />
|
|
717
|
-
<option name="project" value="LOCAL" />
|
|
718
|
-
<updated>1621878811748</updated>
|
|
719
|
-
</task>
|
|
720
|
-
<task id="LOCAL-00749" summary="The editor is very slow when working with tables in IE #673 issue: https://github.com/xdan/jodit/issues/673">
|
|
721
|
-
<created>1621878940395</created>
|
|
722
|
-
<option name="number" value="00749" />
|
|
723
|
-
<option name="presentableId" value="LOCAL-00749" />
|
|
724
|
-
<option name="project" value="LOCAL" />
|
|
725
|
-
<updated>1621878940395</updated>
|
|
726
|
-
</task>
|
|
727
|
-
<task id="LOCAL-00750" summary="The editor is very slow when working with tables in IE #673 issue: https://github.com/xdan/jodit/issues/673">
|
|
728
|
-
<created>1621879147299</created>
|
|
729
|
-
<option name="number" value="00750" />
|
|
730
|
-
<option name="presentableId" value="LOCAL-00750" />
|
|
731
|
-
<option name="project" value="LOCAL" />
|
|
732
|
-
<updated>1621879147299</updated>
|
|
733
|
-
</task>
|
|
734
|
-
<task id="LOCAL-00751" summary="Fix tests">
|
|
735
|
-
<created>1621885990362</created>
|
|
736
|
-
<option name="number" value="00751" />
|
|
737
|
-
<option name="presentableId" value="LOCAL-00751" />
|
|
738
|
-
<option name="project" value="LOCAL" />
|
|
739
|
-
<updated>1621885990362</updated>
|
|
740
|
-
</task>
|
|
741
|
-
<task id="LOCAL-00752" summary="BR Typescript 4.3.2 + override">
|
|
742
|
-
<created>1622135650052</created>
|
|
743
|
-
<option name="number" value="00752" />
|
|
744
|
-
<option name="presentableId" value="LOCAL-00752" />
|
|
745
|
-
<option name="project" value="LOCAL" />
|
|
746
|
-
<updated>1622135650053</updated>
|
|
747
|
-
</task>
|
|
748
|
-
<task id="LOCAL-00753" summary="Up">
|
|
749
|
-
<created>1622491227523</created>
|
|
750
|
-
<option name="number" value="00753" />
|
|
751
|
-
<option name="presentableId" value="LOCAL-00753" />
|
|
752
|
-
<option name="project" value="LOCAL" />
|
|
753
|
-
<updated>1622491227523</updated>
|
|
754
|
-
</task>
|
|
755
|
-
<task id="LOCAL-00754" summary="Up">
|
|
756
|
-
<created>1622491710784</created>
|
|
757
|
-
<option name="number" value="00754" />
|
|
758
|
-
<option name="presentableId" value="LOCAL-00754" />
|
|
759
|
-
<option name="project" value="LOCAL" />
|
|
760
|
-
<updated>1622491710784</updated>
|
|
761
|
-
</task>
|
|
762
|
-
<task id="LOCAL-00755" summary="Fix overrides">
|
|
763
|
-
<created>1623259199404</created>
|
|
764
|
-
<option name="number" value="00755" />
|
|
765
|
-
<option name="presentableId" value="LOCAL-00755" />
|
|
766
|
-
<option name="project" value="LOCAL" />
|
|
767
|
-
<updated>1623259199404</updated>
|
|
768
|
-
</task>
|
|
769
|
-
<task id="LOCAL-00756" summary="Fix hovering over the text editor triggers hover over source button instantly #138 Issue: https://github.com/jodit/jodit-react/issues/138">
|
|
770
|
-
<created>1623261996349</created>
|
|
771
|
-
<option name="number" value="00756" />
|
|
772
|
-
<option name="presentableId" value="LOCAL-00756" />
|
|
773
|
-
<option name="project" value="LOCAL" />
|
|
774
|
-
<updated>1623261996349</updated>
|
|
775
|
-
</task>
|
|
776
|
-
<task id="LOCAL-00757" summary="Fix hovering over the text editor triggers hover over source button instantly #138 Issue: https://github.com/jodit/jodit-react/issues/138">
|
|
777
|
-
<created>1623262237450</created>
|
|
778
|
-
<option name="number" value="00757" />
|
|
779
|
-
<option name="presentableId" value="LOCAL-00757" />
|
|
780
|
-
<option name="project" value="LOCAL" />
|
|
781
|
-
<updated>1623262237450</updated>
|
|
782
|
-
</task>
|
|
783
|
-
<task id="LOCAL-00758" summary="Enable @typescript-eslint/explicit-module-boundary-types">
|
|
784
|
-
<created>1623787168431</created>
|
|
785
|
-
<option name="number" value="00758" />
|
|
786
|
-
<option name="presentableId" value="LOCAL-00758" />
|
|
787
|
-
<option name="project" value="LOCAL" />
|
|
788
|
-
<updated>1623787168431</updated>
|
|
789
|
-
</task>
|
|
790
|
-
<task id="LOCAL-00759" summary="Enable @typescript-eslint/explicit-module-boundary-types">
|
|
791
|
-
<created>1623787195563</created>
|
|
792
|
-
<option name="number" value="00759" />
|
|
793
|
-
<option name="presentableId" value="LOCAL-00759" />
|
|
794
|
-
<option name="project" value="LOCAL" />
|
|
795
|
-
<updated>1623787195563</updated>
|
|
796
|
-
</task>
|
|
797
|
-
<task id="LOCAL-00760" summary="Allow insert in image dialog - relative path">
|
|
798
|
-
<created>1623787210281</created>
|
|
799
|
-
<option name="number" value="00760" />
|
|
800
|
-
<option name="presentableId" value="LOCAL-00760" />
|
|
801
|
-
<option name="project" value="LOCAL" />
|
|
802
|
-
<updated>1623787210281</updated>
|
|
803
|
-
</task>
|
|
804
|
-
<task id="LOCAL-00761" summary="Remove `type` helper">
|
|
805
|
-
<created>1623787660032</created>
|
|
806
|
-
<option name="number" value="00761" />
|
|
807
|
-
<option name="presentableId" value="LOCAL-00761" />
|
|
808
|
-
<option name="project" value="LOCAL" />
|
|
809
|
-
<updated>1623787660032</updated>
|
|
810
|
-
</task>
|
|
811
|
-
<task id="LOCAL-00762" summary="Reformat">
|
|
812
|
-
<created>1623787783554</created>
|
|
813
|
-
<option name="number" value="00762" />
|
|
814
|
-
<option name="presentableId" value="LOCAL-00762" />
|
|
815
|
-
<option name="project" value="LOCAL" />
|
|
816
|
-
<updated>1623787783554</updated>
|
|
817
|
-
</task>
|
|
818
|
-
<task id="LOCAL-00763" summary="Retrun prettier rule in eslint">
|
|
819
|
-
<created>1623787851264</created>
|
|
820
|
-
<option name="number" value="00763" />
|
|
821
|
-
<option name="presentableId" value="LOCAL-00763" />
|
|
822
|
-
<option name="project" value="LOCAL" />
|
|
823
|
-
<updated>1623787851264</updated>
|
|
824
|
-
</task>
|
|
825
|
-
<task id="LOCAL-00764" summary="Up">
|
|
826
|
-
<created>1623788056336</created>
|
|
827
|
-
<option name="number" value="00764" />
|
|
828
|
-
<option name="presentableId" value="LOCAL-00764" />
|
|
829
|
-
<option name="project" value="LOCAL" />
|
|
830
|
-
<updated>1623788056336</updated>
|
|
699
|
+
<workItem from="1633206768886" duration="11805000" />
|
|
700
|
+
<workItem from="1633353748953" duration="25465000" />
|
|
831
701
|
</task>
|
|
832
702
|
<task id="LOCAL-00765" summary="added `idle` decorator">
|
|
833
703
|
<created>1623791857536</created>
|
|
@@ -1039,7 +909,140 @@
|
|
|
1039
909
|
<option name="project" value="LOCAL" />
|
|
1040
910
|
<updated>1633216779783</updated>
|
|
1041
911
|
</task>
|
|
1042
|
-
<
|
|
912
|
+
<task id="LOCAL-00795" summary="Fixed security issue. Issue: https://github.com/xdan/jodit/issues/702">
|
|
913
|
+
<created>1633361627993</created>
|
|
914
|
+
<option name="number" value="00795" />
|
|
915
|
+
<option name="presentableId" value="LOCAL-00795" />
|
|
916
|
+
<option name="project" value="LOCAL" />
|
|
917
|
+
<updated>1633361627994</updated>
|
|
918
|
+
</task>
|
|
919
|
+
<task id="LOCAL-00796" summary="Move source button in the end">
|
|
920
|
+
<created>1633361644168</created>
|
|
921
|
+
<option name="number" value="00796" />
|
|
922
|
+
<option name="presentableId" value="LOCAL-00796" />
|
|
923
|
+
<option name="project" value="LOCAL" />
|
|
924
|
+
<updated>1633361644168</updated>
|
|
925
|
+
</task>
|
|
926
|
+
<task id="LOCAL-00797" summary="Move source button in the end">
|
|
927
|
+
<created>1633374989369</created>
|
|
928
|
+
<option name="number" value="00797" />
|
|
929
|
+
<option name="presentableId" value="LOCAL-00797" />
|
|
930
|
+
<option name="project" value="LOCAL" />
|
|
931
|
+
<updated>1633374989369</updated>
|
|
932
|
+
</task>
|
|
933
|
+
<task id="LOCAL-00798" summary="Fixed bug in safeHTML util">
|
|
934
|
+
<created>1633376996622</created>
|
|
935
|
+
<option name="number" value="00798" />
|
|
936
|
+
<option name="presentableId" value="LOCAL-00798" />
|
|
937
|
+
<option name="project" value="LOCAL" />
|
|
938
|
+
<updated>1633376996622</updated>
|
|
939
|
+
</task>
|
|
940
|
+
<task id="LOCAL-00799" summary="Fixed bug in safeHTML util">
|
|
941
|
+
<created>1633377154814</created>
|
|
942
|
+
<option name="number" value="00799" />
|
|
943
|
+
<option name="presentableId" value="LOCAL-00799" />
|
|
944
|
+
<option name="project" value="LOCAL" />
|
|
945
|
+
<updated>1633377154815</updated>
|
|
946
|
+
</task>
|
|
947
|
+
<task id="LOCAL-00800" summary="Remove javascript:void">
|
|
948
|
+
<created>1633378787646</created>
|
|
949
|
+
<option name="number" value="00800" />
|
|
950
|
+
<option name="presentableId" value="LOCAL-00800" />
|
|
951
|
+
<option name="project" value="LOCAL" />
|
|
952
|
+
<updated>1633378787646</updated>
|
|
953
|
+
</task>
|
|
954
|
+
<task id="LOCAL-00801" summary="Refused to run the JavaScript URL because it violates the following Content Security Policy directive #716 Issue: https://github.com/xdan/jodit/issues/716">
|
|
955
|
+
<created>1633378858267</created>
|
|
956
|
+
<option name="number" value="00801" />
|
|
957
|
+
<option name="presentableId" value="LOCAL-00801" />
|
|
958
|
+
<option name="project" value="LOCAL" />
|
|
959
|
+
<updated>1633378858267</updated>
|
|
960
|
+
</task>
|
|
961
|
+
<task id="LOCAL-00802" summary="Refused to run the JavaScript URL because it violates the following Content Security Policy directive #716 Issue: https://github.com/xdan/jodit/issues/716">
|
|
962
|
+
<created>1633378868342</created>
|
|
963
|
+
<option name="number" value="00802" />
|
|
964
|
+
<option name="presentableId" value="LOCAL-00802" />
|
|
965
|
+
<option name="project" value="LOCAL" />
|
|
966
|
+
<updated>1633378868342</updated>
|
|
967
|
+
</task>
|
|
968
|
+
<task id="LOCAL-00803" summary="Refused to run the JavaScript URL because it violates the following Content Security Policy directive #716 Issue: https://github.com/xdan/jodit/issues/716">
|
|
969
|
+
<created>1633378923083</created>
|
|
970
|
+
<option name="number" value="00803" />
|
|
971
|
+
<option name="presentableId" value="LOCAL-00803" />
|
|
972
|
+
<option name="project" value="LOCAL" />
|
|
973
|
+
<updated>1633378923083</updated>
|
|
974
|
+
</task>
|
|
975
|
+
<task id="LOCAL-00804" summary="Refused to run the JavaScript URL because it violates the following Content Security Policy directive #716 Issue: https://github.com/xdan/jodit/issues/716">
|
|
976
|
+
<created>1633381516674</created>
|
|
977
|
+
<option name="number" value="00804" />
|
|
978
|
+
<option name="presentableId" value="LOCAL-00804" />
|
|
979
|
+
<option name="project" value="LOCAL" />
|
|
980
|
+
<updated>1633381516674</updated>
|
|
981
|
+
</task>
|
|
982
|
+
<task id="LOCAL-00805" summary="Refused to run the JavaScript URL because it violates the following Content Security Policy directive #716 Issue: https://github.com/xdan/jodit/issues/716">
|
|
983
|
+
<created>1633381818176</created>
|
|
984
|
+
<option name="number" value="00805" />
|
|
985
|
+
<option name="presentableId" value="LOCAL-00805" />
|
|
986
|
+
<option name="project" value="LOCAL" />
|
|
987
|
+
<updated>1633381818176</updated>
|
|
988
|
+
</task>
|
|
989
|
+
<task id="LOCAL-00806" summary="Fixed tests">
|
|
990
|
+
<created>1633382217031</created>
|
|
991
|
+
<option name="number" value="00806" />
|
|
992
|
+
<option name="presentableId" value="LOCAL-00806" />
|
|
993
|
+
<option name="project" value="LOCAL" />
|
|
994
|
+
<updated>1633382217031</updated>
|
|
995
|
+
</task>
|
|
996
|
+
<task id="LOCAL-00807" summary="All tests are green">
|
|
997
|
+
<created>1633383865003</created>
|
|
998
|
+
<option name="number" value="00807" />
|
|
999
|
+
<option name="presentableId" value="LOCAL-00807" />
|
|
1000
|
+
<option name="project" value="LOCAL" />
|
|
1001
|
+
<updated>1633383865003</updated>
|
|
1002
|
+
</task>
|
|
1003
|
+
<task id="LOCAL-00808" summary="Scrolling to top of editor bug in Safari. #715 Issue: https://github.com/xdan/jodit/issues/715">
|
|
1004
|
+
<created>1633385287327</created>
|
|
1005
|
+
<option name="number" value="00808" />
|
|
1006
|
+
<option name="presentableId" value="LOCAL-00808" />
|
|
1007
|
+
<option name="project" value="LOCAL" />
|
|
1008
|
+
<updated>1633385287328</updated>
|
|
1009
|
+
</task>
|
|
1010
|
+
<task id="LOCAL-00809" summary="Change default demo color">
|
|
1011
|
+
<created>1633385303202</created>
|
|
1012
|
+
<option name="number" value="00809" />
|
|
1013
|
+
<option name="presentableId" value="LOCAL-00809" />
|
|
1014
|
+
<option name="project" value="LOCAL" />
|
|
1015
|
+
<updated>1633385303203</updated>
|
|
1016
|
+
</task>
|
|
1017
|
+
<task id="LOCAL-00810" summary="Popup doesn't follow the toolbar on scroll #703 Issue: https://github.com/xdan/jodit/issues/703">
|
|
1018
|
+
<created>1633386309227</created>
|
|
1019
|
+
<option name="number" value="00810" />
|
|
1020
|
+
<option name="presentableId" value="LOCAL-00810" />
|
|
1021
|
+
<option name="project" value="LOCAL" />
|
|
1022
|
+
<updated>1633386309227</updated>
|
|
1023
|
+
</task>
|
|
1024
|
+
<task id="LOCAL-00811" summary="Change default button color">
|
|
1025
|
+
<created>1633386323282</created>
|
|
1026
|
+
<option name="number" value="00811" />
|
|
1027
|
+
<option name="presentableId" value="LOCAL-00811" />
|
|
1028
|
+
<option name="project" value="LOCAL" />
|
|
1029
|
+
<updated>1633386323282</updated>
|
|
1030
|
+
</task>
|
|
1031
|
+
<task id="LOCAL-00812" summary="Added `resizer.forImageChangeAttribute=true` option Issue: https://github.com/xdan/jodit/issues/696">
|
|
1032
|
+
<created>1633387386503</created>
|
|
1033
|
+
<option name="number" value="00812" />
|
|
1034
|
+
<option name="presentableId" value="LOCAL-00812" />
|
|
1035
|
+
<option name="project" value="LOCAL" />
|
|
1036
|
+
<updated>1633387386503</updated>
|
|
1037
|
+
</task>
|
|
1038
|
+
<task id="LOCAL-00813" summary="Added `resizer.forImageChangeAttribute=true` option Issue: https://github.com/xdan/jodit/issues/696">
|
|
1039
|
+
<created>1633387698794</created>
|
|
1040
|
+
<option name="number" value="00813" />
|
|
1041
|
+
<option name="presentableId" value="LOCAL-00813" />
|
|
1042
|
+
<option name="project" value="LOCAL" />
|
|
1043
|
+
<updated>1633387698794</updated>
|
|
1044
|
+
</task>
|
|
1045
|
+
<option name="localTasksCounter" value="814" />
|
|
1043
1046
|
<servers />
|
|
1044
1047
|
</component>
|
|
1045
1048
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -1154,18 +1157,6 @@
|
|
|
1154
1157
|
</component>
|
|
1155
1158
|
<component name="VcsManagerConfiguration">
|
|
1156
1159
|
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
|
1157
|
-
<MESSAGE value="Refactoring of Dom module" />
|
|
1158
|
-
<MESSAGE value="Refactoring #6" />
|
|
1159
|
-
<MESSAGE value="Refactoring Dom module" />
|
|
1160
|
-
<MESSAGE value="Up" />
|
|
1161
|
-
<MESSAGE value="Fixed Eraser delete "<a>" tag! #705 Issue: https://github.com/xdan/jodit/issues/705" />
|
|
1162
|
-
<MESSAGE value="Added new plugin" />
|
|
1163
|
-
<MESSAGE value="Refactoring" />
|
|
1164
|
-
<MESSAGE value="Divided the whole apple-style module into submodules and reduced the coupling" />
|
|
1165
|
-
<MESSAGE value="added jsdoc" />
|
|
1166
|
-
<MESSAGE value="Fixed some tests" />
|
|
1167
|
-
<MESSAGE value="Fixed all tests" />
|
|
1168
|
-
<MESSAGE value="Fixed aria-label for button in toolbar Issue: https://github.com/xdan/jodit/issues/725" />
|
|
1169
1160
|
<MESSAGE value="Fixed bug in <label><editor> when label triggered click inside fake input" />
|
|
1170
1161
|
<MESSAGE value="Fixed bug for bold plugin" />
|
|
1171
1162
|
<MESSAGE value="Use generator in wraptotag" />
|
|
@@ -1179,7 +1170,19 @@
|
|
|
1179
1170
|
<MESSAGE value="Fix Lint" />
|
|
1180
1171
|
<MESSAGE value="Fixed test in FF" />
|
|
1181
1172
|
<MESSAGE value="Added .npmignore Issue: https://github.com/xdan/jodit/issues/720" />
|
|
1182
|
-
<
|
|
1173
|
+
<MESSAGE value="Fixed security issue. Issue: https://github.com/xdan/jodit/issues/702" />
|
|
1174
|
+
<MESSAGE value="Move source button in the end" />
|
|
1175
|
+
<MESSAGE value="Fixed bug in safeHTML util" />
|
|
1176
|
+
<MESSAGE value="Remove javascript:void" />
|
|
1177
|
+
<MESSAGE value="Refused to run the JavaScript URL because it violates the following Content Security Policy directive #716 Issue: https://github.com/xdan/jodit/issues/716" />
|
|
1178
|
+
<MESSAGE value="Fixed tests" />
|
|
1179
|
+
<MESSAGE value="All tests are green" />
|
|
1180
|
+
<MESSAGE value="Scrolling to top of editor bug in Safari. #715 Issue: https://github.com/xdan/jodit/issues/715" />
|
|
1181
|
+
<MESSAGE value="Change default demo color" />
|
|
1182
|
+
<MESSAGE value="Popup doesn't follow the toolbar on scroll #703 Issue: https://github.com/xdan/jodit/issues/703" />
|
|
1183
|
+
<MESSAGE value="Change default button color" />
|
|
1184
|
+
<MESSAGE value="Added `resizer.forImageChangeAttribute=true` option Issue: https://github.com/xdan/jodit/issues/696" />
|
|
1185
|
+
<option name="LAST_COMMIT_MESSAGE" value="Added `resizer.forImageChangeAttribute=true` option Issue: https://github.com/xdan/jodit/issues/696" />
|
|
1183
1186
|
</component>
|
|
1184
1187
|
<component name="XDebuggerManager">
|
|
1185
1188
|
<breakpoint-manager>
|
|
@@ -1204,11 +1207,6 @@
|
|
|
1204
1207
|
<line>808</line>
|
|
1205
1208
|
<option name="timeStamp" value="24" />
|
|
1206
1209
|
</line-breakpoint>
|
|
1207
|
-
<line-breakpoint enabled="true" type="javascript">
|
|
1208
|
-
<url>file://$PROJECT_DIR$/src/core/ui/button/button/button.ts</url>
|
|
1209
|
-
<line>6</line>
|
|
1210
|
-
<option name="timeStamp" value="31" />
|
|
1211
|
-
</line-breakpoint>
|
|
1212
1210
|
<line-breakpoint enabled="true" type="javascript">
|
|
1213
1211
|
<url>file://$PROJECT_DIR$/src/modules/widget/index.ts</url>
|
|
1214
1212
|
<line>9</line>
|
|
@@ -1231,7 +1229,7 @@
|
|
|
1231
1229
|
</line-breakpoint>
|
|
1232
1230
|
<line-breakpoint enabled="true" type="javascript">
|
|
1233
1231
|
<url>file://$PROJECT_DIR$/src/plugins/resizer/resizer.ts</url>
|
|
1234
|
-
<line>
|
|
1232
|
+
<line>380</line>
|
|
1235
1233
|
<option name="timeStamp" value="43" />
|
|
1236
1234
|
</line-breakpoint>
|
|
1237
1235
|
<line-breakpoint enabled="true" type="javascript">
|
package/CHANGELOG.MD
CHANGED
|
@@ -9,6 +9,33 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 3.8.3
|
|
13
|
+
|
|
14
|
+
#### :boom: Breaking Change
|
|
15
|
+
|
|
16
|
+
- beforeSetNativeEditorValue - get object {value: string} and can change value
|
|
17
|
+
- Added `resizer.forImageChangeAttributes=true` option. Issue: https://github.com/xdan/jodit/issues/696
|
|
18
|
+
```js
|
|
19
|
+
// Disable
|
|
20
|
+
Jodit.make('#editor', {
|
|
21
|
+
resizer: {
|
|
22
|
+
forImageChangeAttributes: false
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
#### :house: Internal
|
|
28
|
+
|
|
29
|
+
- The Source button has been moved to the depth of the toolbar as it is not cool for the WYSIWYG editor
|
|
30
|
+
|
|
31
|
+
#### :bug: Bug Fix
|
|
32
|
+
|
|
33
|
+
- [Trying to get in touch regarding a security issue #702](https://github.com/xdan/jodit/issues/702)
|
|
34
|
+
- [Scrolling to top of editor bug in Safari. #715](https://github.com/xdan/jodit/issues/715)
|
|
35
|
+
- [Refused to run the JavaScript URL because it violates the following Content Security Policy directive #716](https://github.com/xdan/jodit/issues/716)
|
|
36
|
+
- [Popup doesn't follow the toolbar on scroll #703](https://github.com/xdan/jodit/issues/703)
|
|
37
|
+
- Fixed the link dialog: the unlink button does not work in some cases, and the selection is not restored
|
|
38
|
+
|
|
12
39
|
## 3.8.1
|
|
13
40
|
|
|
14
41
|
#### :boom: Breaking Change
|
|
@@ -69,10 +96,10 @@ Dom.isNode(editor.ed.body); // true
|
|
|
69
96
|
|
|
70
97
|
#### :bug: Bug Fix
|
|
71
98
|
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
99
|
+
- [Toolbar buttons are not read by screen reader correctly #725](https://github.com/xdan/jodit/issues/725)
|
|
100
|
+
- [Bug : table & background color #722](https://github.com/xdan/jodit/issues/722)
|
|
101
|
+
- [Video links are not reliably converted to an IFrame. #714](https://github.com/xdan/jodit/issues/714)
|
|
102
|
+
- [Eraser delete "<a>" tag! #705](https://github.com/xdan/jodit/issues/705)
|
|
76
103
|
|
|
77
104
|
## 3.7.1
|
|
78
105
|
|
|
@@ -556,11 +583,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
|
|
|
556
583
|
- @property {number} link.selectSizeClassName=3 The size of the select (to use with modeClassName="select")
|
|
557
584
|
- @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with modeClassName="select")
|
|
558
585
|
- ex: [
|
|
559
|
-
-
|
|
560
|
-
-
|
|
561
|
-
-
|
|
562
|
-
-
|
|
563
|
-
-
|
|
586
|
+
- { value: "", text: "" },
|
|
587
|
+
- { value: "val1", text: "text1" },
|
|
588
|
+
- { value: "val2", text: "text2" },
|
|
589
|
+
- { value: "val3", text: "text3" }
|
|
590
|
+
- ]
|
|
564
591
|
PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
|
|
565
592
|
|
|
566
593
|
##### New option `statusbar: boolean = true`
|
package/app.css
CHANGED