edwh-editorjs 1.1.0__tar.gz → 2.0.0__tar.gz

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 (42) hide show
  1. edwh_editorjs-2.0.0/CHANGELOG.md +60 -0
  2. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/LICENSE +1 -0
  3. edwh_editorjs-2.0.0/PKG-INFO +28 -0
  4. edwh_editorjs-2.0.0/README.md +2 -0
  5. edwh_editorjs-2.0.0/editorjs/__about__.py +1 -0
  6. edwh_editorjs-2.0.0/editorjs/__init__.py +5 -0
  7. edwh_editorjs-2.0.0/editorjs/blocks.py +670 -0
  8. edwh_editorjs-2.0.0/editorjs/core.py +119 -0
  9. edwh_editorjs-2.0.0/editorjs/exceptions.py +3 -0
  10. edwh_editorjs-2.0.0/editorjs/helpers.py +5 -0
  11. edwh_editorjs-2.0.0/editorjs/types.py +43 -0
  12. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/pyproject.toml +9 -7
  13. edwh_editorjs-2.0.0/tests/test_core.py +112 -0
  14. edwh_editorjs-1.1.0/CHANGELOG.md +0 -26
  15. edwh_editorjs-1.1.0/PKG-INFO +0 -104
  16. edwh_editorjs-1.1.0/README.md +0 -79
  17. edwh_editorjs-1.1.0/pyeditorjs/__about__.py +0 -1
  18. edwh_editorjs-1.1.0/pyeditorjs/__init__.py +0 -30
  19. edwh_editorjs-1.1.0/pyeditorjs/blocks.py +0 -313
  20. edwh_editorjs-1.1.0/pyeditorjs/exceptions.py +0 -19
  21. edwh_editorjs-1.1.0/pyeditorjs/parser.py +0 -75
  22. edwh_editorjs-1.1.0/scripts/build_documentation.sh +0 -4
  23. edwh_editorjs-1.1.0/scripts/compile_everything.sh +0 -4
  24. edwh_editorjs-1.1.0/scripts/compile_for_pypi.sh +0 -4
  25. edwh_editorjs-1.1.0/tests/test_parser.py +0 -42
  26. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/.github/workflows/build_documentation.yml +0 -0
  27. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/.github/workflows/publish_to_pypi.yml +0 -0
  28. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/.github/workflows/pytest.yml +0 -0
  29. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/.gitignore +0 -0
  30. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/.gitignore +0 -0
  31. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/class_index.html +0 -0
  32. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/favicon_32_cb_58284776.png +0 -0
  33. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/function_index.html +0 -0
  34. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/index.html +0 -0
  35. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/keybd_closed_cb_ce680311.png +0 -0
  36. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/status.json +0 -0
  37. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/style_cb_8e611ae1.css +0 -0
  38. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/z_a93c8aeb4b8fa1f9___init___py.html +0 -0
  39. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/z_a93c8aeb4b8fa1f9_blocks_py.html +0 -0
  40. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/z_a93c8aeb4b8fa1f9_exceptions_py.html +0 -0
  41. {edwh_editorjs-1.1.0 → edwh_editorjs-2.0.0}/htmlcov/z_a93c8aeb4b8fa1f9_parser_py.html +0 -0
  42. /edwh_editorjs-1.1.0/requirements.txt → /edwh_editorjs-2.0.0/tests/__init__.py +0 -0
@@ -0,0 +1,60 @@
1
+ # Changelog
2
+
3
+ <!--next-version-placeholder-->
4
+
5
+ ## v2.0.0 (2024-11-18)
6
+
7
+ ### Fix
8
+
9
+ * Rendered attachment should not be content-editable ([`58ab562`](https://github.com/educationwarehouse/edwh-editorjs/commit/58ab562daaca233455b3fe66b773af61f1abb0ad))
10
+
11
+ ## v2.0.0-beta.5 (2024-11-07)
12
+
13
+ ### Feature
14
+
15
+ * Add markdown2 extra to deal with custom `<editorjs />` blocks ([`31d8647`](https://github.com/educationwarehouse/edwh-editorjs/commit/31d8647b7275e245dabf27a99c43d400217705be))
16
+
17
+ ## v2.0.0-beta.4 (2024-11-07)
18
+
19
+ ### Feature
20
+
21
+ * Support (basic) tables, custom editorjs blocks like linkTool via <editorjs> ([`a6dfadf`](https://github.com/educationwarehouse/edwh-editorjs/commit/a6dfadf21ec008fe714704a056b9ffec751d731c))
22
+
23
+ ## v2.0.0-beta.3 (2024-11-06)
24
+
25
+ ### Fix
26
+
27
+ * Various fixes with nested lists ([`52a7773`](https://github.com/educationwarehouse/edwh-editorjs/commit/52a7773470dce3eee6a2d17d46b594551ed043a5))
28
+
29
+ ## v2.0.0-beta.2 (2024-11-06)
30
+
31
+ ### Feature
32
+
33
+ * Work in progress to do a rebuild based on mdast ([`28c12f1`](https://github.com/educationwarehouse/edwh-editorjs/commit/28c12f1f74c71a995f9f8097f1b26be45f835ad4))
34
+
35
+ ## v2.0.0-beta.1 (2024-11-06)
36
+
37
+
38
+
39
+ ## v1.1.0 (2024-10-31)
40
+
41
+ ### Feature
42
+
43
+ * Expose _sanitize via EditorJSBlock.sanitize for external usage ([`7daa67c`](https://github.com/educationwarehouse/edwh-editorjs/commit/7daa67c90440510c83b573c22edf377cc2fd801f))
44
+
45
+ ### Documentation
46
+
47
+ * Added section on defining new custom blocks ([`51d7720`](https://github.com/educationwarehouse/edwh-editorjs/commit/51d77208d4f8156e895de914f41bdeb882a508c0))
48
+
49
+ ## v1.0.1 (2024-10-31)
50
+
51
+ ### Documentation
52
+
53
+ * Updated README ([`18d0216`](https://github.com/educationwarehouse/edwh-editorjs/commit/18d021629bcb223b89a9731e9ad8c574248f75c7))
54
+
55
+ ## v1.0.0 (2024-10-31)
56
+
57
+ ### Feature
58
+
59
+ * Implemented more blocks (raw, warning, code, table, quote) ([`fb93bd9`](https://github.com/educationwarehouse/edwh-editorjs/commit/fb93bd959f06fa86bc23c9bfc51a8b7fddfc65f2))
60
+ * Refactor to Registry Pattern so new block can be easily added ([`b06c86d`](https://github.com/educationwarehouse/edwh-editorjs/commit/b06c86da623dd2a2d92f7c48353a1f3208fb5749))
@@ -1,6 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2021 SKevo
4
+ Copyright (c) 2024 Education Warehouse
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.3
2
+ Name: edwh-editorjs
3
+ Version: 2.0.0
4
+ Summary: EditorJS.py
5
+ Project-URL: Homepage, https://github.com/educationwarehouse/edwh-EditorJS
6
+ Author-email: SKevo <skevo.cw@gmail.com>, Robin van der Noord <robin.vdn@educationwarehouse.nl>
7
+ License: MIT
8
+ License-File: LICENSE
9
+ Keywords: bleach,clean,editor,editor.js,html,javascript,json,parser,wysiwyg
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Requires-Python: >=3.10
18
+ Requires-Dist: markdown2
19
+ Requires-Dist: mdast
20
+ Provides-Extra: dev
21
+ Requires-Dist: edwh; extra == 'dev'
22
+ Requires-Dist: hatch; extra == 'dev'
23
+ Requires-Dist: su6[all]; extra == 'dev'
24
+ Requires-Dist: types-bleach; extra == 'dev'
25
+ Description-Content-Type: text/markdown
26
+
27
+ # edwh-editorjs
28
+
@@ -0,0 +1,2 @@
1
+ # edwh-editorjs
2
+
@@ -0,0 +1 @@
1
+ __version__ = "2.0.0"
@@ -0,0 +1,5 @@
1
+ from .core import EditorJS
2
+
3
+ __all__ = [
4
+ "EditorJS",
5
+ ]