Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@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.
Check out the demo in the link feature guide.
See the @ckeditor/ckeditor5-link
package page in CKEditor 5 documentation.
npm install ckeditor5
Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md
file or https://ckeditor.com/legal/ckeditor-oss-license.
FAQs
Link feature for CKEditor 5.
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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.