Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@ckeditor/ckeditor5-link
Advanced tools
@ckeditor/ckeditor5-link is a plugin for CKEditor 5 that allows users to create, edit, and manage links within the editor. It provides a user-friendly interface for adding hyperlinks to text, ensuring that the links are properly formatted and functional.
Adding a Link
This feature allows users to add hyperlinks to selected text within the editor. The toolbar includes a link button that opens a dialog for entering the URL.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Link ], toolbar: [ 'link' ] })
Editing a Link
This feature allows users to edit existing links. Users can change the URL or the display text of the link through the editor's interface.
editor.model.change(writer => { const linkElement = writer.createElement('link', { href: 'https://example.com' }); writer.insert(linkElement, editor.model.document.selection.getFirstPosition()); });
Removing a Link
This feature allows users to remove hyperlinks from the text. The link is removed, but the text remains intact.
editor.model.change(writer => { const selection = editor.model.document.selection; const range = selection.getFirstRange(); writer.removeAttribute('linkHref', range); });
Quill is a modern WYSIWYG editor built for compatibility and extensibility. It includes link management features similar to @ckeditor/ckeditor5-link, allowing users to add, edit, and remove links within the editor.
TinyMCE is a popular rich text editor that provides comprehensive link management capabilities. It offers a user-friendly interface for adding, editing, and removing links, similar to @ckeditor/ckeditor5-link.
Froala Editor is a lightweight WYSIWYG HTML editor that includes link management features. It allows users to easily add, edit, and remove links, providing functionality comparable to @ckeditor/ckeditor5-link.
This package implements the link feature for CKEditor 5. It allows for inserting hyperlinks into the edited content and offers the UI to create and edit them.
This plugin is part of the ckeditor5
package. Install the whole package to use it.
npm install ckeditor5
If you want to check full CKEditor 5 capabilities, sign up for a free non-commitment 14-day trial.
Check out the demo in the link feature guide.
See the @ckeditor/ckeditor5-link
package page in CKEditor 5 documentation.
Licensed under a dual-license model, this software is available under:
For more information, see: https://ckeditor.com/legal/ckeditor-licensing-options.
FAQs
Link feature for CKEditor 5.
The npm package @ckeditor/ckeditor5-link receives a total of 272,210 weekly downloads. As such, @ckeditor/ckeditor5-link popularity was classified as popular.
We found that @ckeditor/ckeditor5-link demonstrated a healthy version release cadence and project activity because the last version was released less than 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.