Releases: Patternslib/pat-tiptap
Release 4.9.5
Release 4.9.4
4.9.4 (2024-08-20)
Bug Fixes
-
Fix problem with adding columns in tables and deactivate fixed-paragraph. (ad5e986)
The fixed-paragraph extension was causing a problem when adding columns.
This extension adds an extra paragraph at the end of tables, so that
it's easier to add content below tables. However, we also have the
"dropcursor" extension activated with tables and other block content for
the same reason - this one adding a horizontal cursor when navigating
below tables which helps in adding content there. To allow adding
columns in tables again, the fixed-paragraph extension is deactivated
until explictly needed again.
Maintenance
- For better demoing and debugging, make the toolbar sticky. (62155f8)
Release 4.9.3
Release 4.9.2
4.9.2 (2024-07-23)
Release 4.9.0
4.9.0 (2023-11-23)
Features
- Always wrap tables in a div.scroll-table wrapper. (16e1cc5)
Bug Fixes
-
Allow to select the figcaption node. (aa71dfc)
-
Allow to select-all in tables. (606a4be)
Allow to select all (Ctrl-A, Command-A) with tables in certain
conditions.
Due to a tiptap/ProseMirror bug tables with some empty cells and no
content preceding or following the table, selecting the whole table did
not work. This fix makes sure that a non-empty paragraph is added at the
end, if no other content is present at the end of the document.
Follow-up from:
More information here:
- Make fixed-paragraph selectable to make the corresponding table selectable. (2c69109)
Release 4.8.6
4.8.6 (2023-10-16)
Bug Fixes
-
Fix problem with table not selectable with
<ctrl>-<a>
(4284664)There is a strange problem with tables and selecting all content with
<ctrl>-<a>
. When the last node in the document is a table and the last
table cell is empty, then pressing<CTRL>-<a>
to select everyting only
selects the very first node in the document. As soon as one of the
conditions - table not the last node or last table cell not empty - is
not met,<CTRL>-<a>
selects all, as expected.
We fix the problem by making sure some content is following the table
and add an empty paragraph. When another solution is found we can remove
this hack again.
More information here:
Maintenance
-
Disable horizontal table cell resizing. (81214c6)
We would need quite some extra CSS for the
.column-resize-handle
for a
questionable benefit. Disable it for now until we need it back and find
a solution for the missing CSS.
Example for the CSS to be added (touches also table and cell styles):
https://tiptap.dev/api/nodes/table#resizable -
Upgrade dependencies. (a5ea09b)
-
Use a different webpack dev server port than the default Patternslib one. (a099635)