edwh-editorjs 2.3.0__tar.gz → 2.3.1__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.
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/CHANGELOG.md +6 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/PKG-INFO +1 -1
- edwh_editorjs-2.3.1/editorjs/__about__.py +1 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/editorjs/blocks.py +1 -5
- edwh_editorjs-2.3.0/editorjs/__about__.py +0 -1
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/.github/workflows/build_documentation.yml +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/.github/workflows/publish_to_pypi.yml +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/.github/workflows/pytest.yml +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/.gitignore +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/README.md +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/editorjs/__init__.py +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/editorjs/core.py +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/editorjs/exceptions.py +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/editorjs/helpers.py +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/editorjs/types.py +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/.gitignore +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/class_index.html +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/favicon_32_cb_58284776.png +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/function_index.html +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/index.html +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/keybd_closed_cb_ce680311.png +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/status.json +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/style_cb_8e611ae1.css +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/z_a93c8aeb4b8fa1f9___init___py.html +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/z_a93c8aeb4b8fa1f9_blocks_py.html +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/z_a93c8aeb4b8fa1f9_exceptions_py.html +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/htmlcov/z_a93c8aeb4b8fa1f9_parser_py.html +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/pyproject.toml +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/tests/__init__.py +0 -0
- {edwh_editorjs-2.3.0 → edwh_editorjs-2.3.1}/tests/test_core.py +0 -0
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
<!--next-version-placeholder-->
|
|
4
4
|
|
|
5
|
+
## v2.3.1 (2024-11-27)
|
|
6
|
+
|
|
7
|
+
### Fix
|
|
8
|
+
|
|
9
|
+
* **embed:** Simplify embed to just the iframe without most editorjs boilerplate ([`4cfa4e6`](https://github.com/educationwarehouse/edwh-editorjs/commit/4cfa4e6c05fc0d3d39f50b2ccb60c41d42c1b506))
|
|
10
|
+
|
|
5
11
|
## v2.3.0 (2024-11-27)
|
|
6
12
|
|
|
7
13
|
### Feature
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: edwh-editorjs
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: EditorJS.py
|
|
5
5
|
Project-URL: Homepage, https://github.com/educationwarehouse/edwh-EditorJS
|
|
6
6
|
Author-email: SKevo <skevo.cw@gmail.com>, Robin van der Noord <robin.vdn@educationwarehouse.nl>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.3.1"
|
|
@@ -753,11 +753,7 @@ class EmbedBlock(EditorJSBlock):
|
|
|
753
753
|
caption = node.get("caption", "")
|
|
754
754
|
return f"""
|
|
755
755
|
<div class="cdx-block embed-tool">
|
|
756
|
-
<
|
|
757
|
-
<div class="embed-tool__url">{source}</div>
|
|
758
|
-
</preloader>
|
|
759
|
-
<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen="" src="{embed}" class="embed-tool__content"></iframe>
|
|
760
|
-
<div class="cdx-input embed-tool__caption" contenteditable="true" data-placeholder="Enter a caption" data-empty="false">{caption}</div>
|
|
756
|
+
<iframe title='{caption}' style="width:100%;" height="320" frameborder="0" allowfullscreen="" src="{embed}" class="embed-tool__content"></iframe>
|
|
761
757
|
</div>
|
|
762
758
|
"""
|
|
763
759
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.3.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|