@ipscape/ckeditor5-build 1.0.17 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +51 -0
  2. package/build/ckeditor.js +2 -1
  3. package/build/ckeditor.js.map +1 -1
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/eo.js +1 -1
  13. package/build/translations/es.js +1 -1
  14. package/build/translations/fr.js +1 -1
  15. package/build/translations/gl.js +1 -1
  16. package/build/translations/gu.js +1 -1
  17. package/build/translations/hr.js +1 -1
  18. package/build/translations/hu.js +1 -1
  19. package/build/translations/id.js +1 -1
  20. package/build/translations/it.js +1 -1
  21. package/build/translations/jv.js +1 -0
  22. package/build/translations/kn.js +1 -1
  23. package/build/translations/lv.js +1 -1
  24. package/build/translations/ms.js +1 -1
  25. package/build/translations/nl.js +1 -1
  26. package/build/translations/oc.js +1 -1
  27. package/build/translations/pl.js +1 -1
  28. package/build/translations/pt-br.js +1 -1
  29. package/build/translations/pt.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/si.js +1 -1
  32. package/build/translations/sk.js +1 -1
  33. package/build/translations/sr-latn.js +1 -1
  34. package/build/translations/sr.js +1 -1
  35. package/build/translations/tt.js +1 -1
  36. package/build/translations/ur.js +1 -0
  37. package/build/translations/uz.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/package.json +43 -40
package/README.md CHANGED
@@ -53,6 +53,57 @@ ClassicEditor.create(document.querySelector("#editor"))
53
53
 
54
54
  https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/advanced-setup.html#option-minifying-javascript
55
55
 
56
+ ## html support
57
+ ```html
58
+ <script>
59
+ IpscapeEditor.create(document.querySelector("#editor"), {
60
+ htmlSupport: {
61
+ allow: [
62
+ {
63
+ name: /.*/,
64
+ attributes: true,
65
+ classes: true,
66
+ styles: true,
67
+ },
68
+ ],
69
+ },
70
+ })
71
+ .then((editor) => {
72
+ window.editor = editor;
73
+ })
74
+ .catch((error) => {
75
+ console.error("There was a problem initializing the editor.", error);
76
+ });
77
+ </script>
78
+ ```
79
+
80
+ ## dynamic fields
81
+ ```html
82
+ <script>
83
+ IpscapeEditor.create(document.querySelector("#editor"), {
84
+ // dynamic fields example
85
+ dynamicFields: [
86
+ { name: "%FIELD_4ET%", label: "Order Name" },
87
+ { name: "%FIELD_7ET%", label: "Order Telephone Number" },
88
+ { name: "%FIELD_5ET%", label: "Order Date" },
89
+ { name: "%FIELD_9ET%", label: "Order Delivery Address" },
90
+ ],
91
+ systemVariables: [
92
+ { name: "[agent_last_name]", label: "Agent last name" },
93
+ { name: "[agent_first_name]", label: "Agent first name" },
94
+ { name: "[organisation_title]", label: "Organisation title" },
95
+ { name: "[lead_id]", label: "Lead id" },
96
+ ],
97
+ })
98
+ .then((editor) => {
99
+ window.editor = editor;
100
+ })
101
+ .catch((error) => {
102
+ console.error("There was a problem initializing the editor.", error);
103
+ });
104
+ </script>
105
+ ```
106
+
56
107
  ## Build project
57
108
 
58
109
  ```bash