![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@tiptap/extension-table-row
Advanced tools
@tiptap/extension-table-row is an extension for the Tiptap editor that allows you to add and manage table rows within your rich text editor. It provides functionalities to create, manipulate, and customize table rows, making it easier to handle tabular data in a user-friendly way.
Add Table Row
This feature allows you to add a new row to an existing table in the Tiptap editor. The code sample demonstrates how to import the TableRow extension and use the `insertTableRow` command to add a new row.
import { TableRow } from '@tiptap/extension-table-row';
const editor = new Editor({
extensions: [
TableRow,
],
});
// Add a new row to the table
editor.chain().focus().insertTableRow().run();
Delete Table Row
This feature allows you to delete a row from an existing table in the Tiptap editor. The code sample demonstrates how to use the `deleteTableRow` command to remove the current row.
import { TableRow } from '@tiptap/extension-table-row';
const editor = new Editor({
extensions: [
TableRow,
],
});
// Delete the current row from the table
editor.chain().focus().deleteTableRow().run();
Move Table Row
This feature allows you to move a row up or down within a table in the Tiptap editor. The code sample demonstrates how to use the `moveTableRow` command with a parameter to move the current row up or down.
import { TableRow } from '@tiptap/extension-table-row';
const editor = new Editor({
extensions: [
TableRow,
],
});
// Move the current row up
editor.chain().focus().moveTableRow(-1).run();
// Move the current row down
editor.chain().focus().moveTableRow(1).run();
prosemirror-tables is a ProseMirror plugin that provides table-related functionalities similar to @tiptap/extension-table-row. It allows you to create, edit, and manage tables within a ProseMirror editor. While it offers a comprehensive set of table manipulation features, it requires more manual setup compared to the Tiptap extension.
slate-tables is a plugin for the Slate editor that provides table functionalities. It allows you to add, delete, and manipulate table rows and columns within a Slate editor. Compared to @tiptap/extension-table-row, it is designed specifically for the Slate editor and offers similar table management capabilities.
draft-js-table-plugin is a plugin for the Draft.js editor that adds table functionalities. It allows you to create and manage tables within a Draft.js editor. While it provides similar features to @tiptap/extension-table-row, it is tailored for use with Draft.js and may require additional configuration.
Tiptap is a headless wrapper around ProseMirror – a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as New York Times, The Guardian or Atlassian.
Documentation can be found on the Tiptap website.
Tiptap is open sourced software licensed under the MIT license.
2.0.0 (2023-03-29)
i
in defaultBlockAt
by @andreavaccari in https://github.com/ueberdosis/tiptap/pull/1315Color
extension to set the text color by @hanspagel in https://github.com/ueberdosis/tiptap/pull/1744this.value
to value
in the vue examples with v-model by @MiloLug in https://github.com/ueberdosis/tiptap/pull/1813ReactRenderer
types by @rfgamaral in https://github.com/ueberdosis/tiptap/pull/2011editor
dependency when registering BubbleMenuPlugin
by @ValentaTomas in https://github.com/ueberdosis/tiptap/pull/2018defaultOptions
with addOptions
by @philippkuehn in https://github.com/ueberdosis/tiptap/pull/2088CollaborationCursor
extension by @hanspagel in https://github.com/ueberdosis/tiptap/pull/2096enableInputRules
and enablePasteRules
by @aguingand in https://github.com/ueberdosis/tiptap/pull/2119setEditable
to the Editor documentation by @floriankrueger in https://github.com/ueberdosis/tiptap/pull/2199as
option and pass through to ReactRenderer by @jessicalc in https://github.com/ueberdosis/tiptap/pull/2213createView
by @BrianHung in https://github.com/ueberdosis/tiptap/pull/2212type="context"
tag by @duruer in https://github.com/ueberdosis/tiptap/pull/2240CharacterCount
extension by @philippkuehn in https://github.com/ueberdosis/tiptap/pull/2256element.current
from useEffect
in BubbleMenu
and FloatingMenu
by @ValentaTomas in https://github.com/ueberdosis/tiptap/pull/2297Level
for external use by @webri in https://github.com/ueberdosis/tiptap/pull/2354@tiptap/react
and @tiptap/core
as side effect free by @dcastil in https://github.com/ueberdosis/tiptap/pull/2361javascript:
pseudo-protocol by @phenax in https://github.com/ueberdosis/tiptap/pull/2646onBeforeStart
and onBeforeUpdate
handlers to the render function by @rfgamaral in https://github.com/ueberdosis/tiptap/pull/2628getTextSerializersFromSchema
helper, and fix typo in its name by @sjdemartini in https://github.com/ueberdosis/tiptap/pull/2750className
option and pass through to ReactRenderer by @anton-liubushkin in https://github.com/ueberdosis/tiptap/pull/2794Avoid mutating a prop directly
error message to reproduce by @HondryTravis in https://github.com/ueberdosis/tiptap/pull/2834@tiptap/extension-code-block-lowlight
by @enriquecastl in https://github.com/ueberdosis/tiptap/pull/2625whiteSpace
style for NodeViewWrapper
& NodeViewContent
by @EvitanRelta in https://github.com/ueberdosis/tiptap/pull/2884nodeInputRule
by @ahhshm in https://github.com/ueberdosis/tiptap/pull/2954flushSync
to microtask by @sampi in https://github.com/ueberdosis/tiptap/pull/3188editor.setEditable
to omit updates by @ZaymonFC in https://github.com/ueberdosis/tiptap/pull/3301nodePasteRule
find
type to most generic PasteRuleFinder
by @jiegillet in https://github.com/ueberdosis/tiptap/pull/3759createNodeFromContent
and other missing helpers by @jacksleight in https://github.com/ueberdosis/tiptap/pull/3558documentClear
plugin by @thecodrr in https://github.com/ueberdosis/tiptap/pull/3778FAQs
table row extension for tiptap
The npm package @tiptap/extension-table-row receives a total of 383,735 weekly downloads. As such, @tiptap/extension-table-row popularity was classified as popular.
We found that @tiptap/extension-table-row demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.