
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@brightyard/wappler_tiptap
Advanced tools
This is a custom TipTap editor extension designed to be used with Wappler. It includes features such as dynamic mentions, YouTube video embedding, table support, image upload, and more. New custom commands like setting a hard break, inserting content dynamically, and clearing the editor are also included.
Note: This extension is not ready for production and is exposed for other Wapplers to review and suggest improvements.
Follow this guide to copy the necessary files to your Wappler project's extensions folder.
You can add the custom TipTap editor component to your Wappler project by following these steps:
<dmx-tiptap id="your-editor-id"></dmx-tiptap>
Enable YouTube video embedding by setting the Enable YouTube video attribute to true. Users can paste YouTube video links directly into the editor, which will automatically embed them.
<dmx-tiptap id="your-editor-id" enable-youtube="true"></dmx-tiptap>
Enable the mention functionality, which provides a dropdown of suggested items when typing @. This is controlled through the enableMentions attribute, and you can bind dynamic data for mentionable items via the mentionItems attribute.
<dmx-tiptap
id="your-editor-id"
enable-mentions="true"
dmx-bind:mention-items="serverConnect.data.users"
></dmx-tiptap>
The editor includes table functionality out of the box. You can insert and manage tables, add/remove rows and columns, and perform other table-related actions.
Supports image uploads with base64 encoding or server-side uploads (currently in progress). To enable image upload functionality, set the imageUpload attribute to true.
<dmx-tiptap id="your-editor-id" image-upload="true"></dmx-tiptap>
A hard line break can be inserted into the editor using the setHardBreak method.
dmx-on:click="your-editor-id.setHardBreak()"
You can clear all content in the editor using the clearContent method.
dmx-on:click="your-editor-id.clearContent()"
You can insert new content, add a paragraph, and dynamically add a horizontal line using the setContentWithLine method.
dmx-on:click="your-editor-id.setContentWithLine('Some new content')"
If you have access to TipTap Pro extensions, you can enable additional features such as emoji support and file handling.
Configure NPM to use TipTap's private registry:
Follow the Global CI/CD instructions at https://cloud.tiptap.dev/pro-extensions to use the pro extensions.
Install the Pro extensions:
npm install @tiptap-pro/extension-emoji @tiptap-pro/extension-file-handler
Enable Pro Extensions in the Component: To enable Pro extensions, such as emoji or file handling, ensure you have the following setup:
"peerDependencies": {
"@tiptap-pro/extension-emoji": "^2.11.2",
"@tiptap-pro/extension-file-handler": "^2.11.2"
}
This allows you to integrate additional Pro features seamlessly without bundling them into your core package.
| Property | Description | Default Value |
|---|---|---|
id | The ID of the editor component. | - |
value | The initial content for the editor. | "" |
placeholder | Placeholder text shown when editor is empty. | "Start typing here..." |
readonly | Whether the editor is in read-only mode. | false |
enableMentions | Enables mentions functionality. | false |
mentionItems | A list of items to be used for mentions. | [] |
enableYoutube | Enables YouTube video embedding. | false |
imageUpload | Enables image upload functionality. | false |
You can configure the toolbar options by passing a comma-separated list of buttons through the buttons attribute:
<dmx-tiptap
id="your-editor-id"
buttons="bold, italic, underline, table"
></dmx-tiptap>
Dynamically set the content of the editor using the setContent method.
dmx-on:click="your-editor-id.setContent('New content')"
Add a horizontal line using the setHorizontalRule method.
dmx-on:click="your-editor-id.setHorizontalRule()"
Clear all content in the editor using the clearContent method.
dmx-on:click="your-editor-id.clearContent()"
Insert new content, a paragraph, and a horizontal line.
dmx-on:click="your-editor-id.setContentWithLine('Some new content')"
Toggle the read-only state of the editor using the toggleReadonly method.
dmx-on:click="your-editor-id.toggleReadonly()"
Focus the editor at a specific position: start, end, or another custom position.
dmx-on:click="your-editor-id.focusEditor('end')"
<dmx-tiptap
id="myEditor"
enable-mentions="true"
dmx-bind:mention-items="serverConnect.data.users"
enable-youtube="true"
buttons="bold, italic, underline, table, bullet-list, ordered-list"
></dmx-tiptap>
In this example:
MIT License. Please feel free to use and modify this component as needed.
FAQs
App Connect module for TipTap Editor.
The npm package @brightyard/wappler_tiptap receives a total of 46 weekly downloads. As such, @brightyard/wappler_tiptap popularity was classified as not popular.
We found that @brightyard/wappler_tiptap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.