Skip to content

Commit

Permalink
Add resizable columns
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Dec 22, 2024
1 parent 01c9d7c commit eb7e0c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions private/css/cms.tiptap.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@
box-shadow: 0 0 2px Highlight;
}
}
&.ProseMirror-focused {
td, th {
outline: Highlight solid 0.5px;
}
}
& cms-plugin {
pointer-events: auto;
a {
Expand Down
2 changes: 1 addition & 1 deletion private/js/cms.tiptap.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class CMSTipTapPlugin {
Subscript,
Superscript,
Table.configure({
resizable: false,
resizable: true,
HTMLAttributes: {
class: 'table',
},
Expand Down

0 comments on commit eb7e0c3

Please sign in to comment.