Skip to content

Commit fc10a4c

Browse files
committed
Add the unlink button to the toolbar if links are enabled
1 parent d9a94c3 commit fc10a4c

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [0.3.1] - 2025-04-01
11+
12+
## Added
13+
14+
- The missing unlink toolbar icon, when links are enabled
15+
1016
## [0.3] - 2025-04-01
1117

1218
## Added
@@ -57,6 +63,7 @@ Initial release
5763

5864

5965
[unreleased]: https://github.com/torchbox/wagtail-tinytableblock/compare/v0.2.3...HEAD
66+
[0.3.1]: https://github.com/torchbox/wagtail-tinytableblock/compare/v0.3...v0.3.1
6067
[0.3]: https://github.com/torchbox/wagtail-tinytableblock/compare/v0.2.4...v0.3
6168
[0.2.4]: https://github.com/torchbox/wagtail-tinytableblock/compare/v0.2.3...v0.2.4
6269
[0.2.3]: https://github.com/torchbox/wagtail-tinytableblock/compare/v0.2.2...v0.2.3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.3.0"
1+
__version__ = "0.3.1"

src/wagtail_tinytableblock/static/wagtail_tinytableblock/js/tiny-table-block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TinyTableBlockDefinition extends window.wagtailStreamField.blocks.FieldBlo
1515

1616
if (this.meta.enableLinks) {
1717
plugins += " link autolink";
18-
toolbar += " | link";
18+
toolbar += " | link unlink";
1919
contextmenu += " link";
2020
valid_elements += ",a[href|target|rel]";
2121
}

0 commit comments

Comments
 (0)