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-paste-from-office
Advanced tools
@ckeditor/ckeditor5-paste-from-office is a plugin for CKEditor 5 that allows users to paste content from Microsoft Word and Google Docs while preserving the formatting and structure of the original document. This includes handling complex elements like tables, lists, and text styles.
Preserve Text Formatting
This feature allows users to paste text from Word or Google Docs into the CKEditor while preserving the original formatting such as bold, italic, and other text styles.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [ PasteFromOffice, ... ], toolbar: [ 'bold', 'italic', 'undo', 'redo' ] })
Preserve Lists
This feature ensures that ordered and unordered lists are preserved when pasted from Word or Google Docs into the CKEditor.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [ PasteFromOffice, List, ... ], toolbar: [ 'numberedList', 'bulletedList', 'undo', 'redo' ] })
Preserve Tables
This feature allows users to paste tables from Word or Google Docs into the CKEditor while maintaining the table structure and formatting.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [ PasteFromOffice, Table, TableToolbar, ... ], toolbar: [ 'insertTable', 'tableColumn', 'tableRow', 'mergeTableCells', 'undo', 'redo' ] })
TinyMCE is a rich text editor that also supports pasting content from Word and Google Docs with preserved formatting. It offers a wide range of plugins and customization options, similar to CKEditor 5.
Quill is a modern WYSIWYG editor that supports pasting content from Word and Google Docs. While it is lightweight and easy to integrate, it may not offer as many advanced features as CKEditor 5.
Froala Editor is another rich text editor that supports pasting from Word and Google Docs. It is known for its clean design and ease of use, but it may require a license for full functionality.
This package implements the paste from Office feature for CKEditor 5.
Paste from Office allows copying content from Microsoft Word without losing any formatting.
Check out the demos for the paste from office and paste from Google Docs features.
See the @ckeditor/ckeditor5-paste-from-office
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.
43.2.0 (October 2, 2024)
We are happy to announce the release of CKEditor 5 v43.2.0.
ckeditor5
and ckeditor5-premium-features
indexesAs users transition to new installation methods (v42.0.0+) with ckeditor5
and ckeditor5-premium-features
as the main packages, we are continuously addressing missing imports for less common classes, functions, types, and utilities, broadening their availability. Since our TypeScript rewrite (v37.0.0), imports can now be made directly through the package indexes, simplifying integration. As many users historically imported from src
, we encourage you to try the new version and report any missing imports. In the future, we are considering removing src
from published packages to reduce package size, so the more feedback we receive, the better and more stable API we will provide.
usePassive
option to DomEventObserver
that enables listening to passive events. Closes #16412. (commit)CKBox
no longer changes and reinserts them simultaneously. Closes #17056. (commit)model-nodelist-offset-out-of-bounds
error. See #9296. (commit)model-nodelist-offset-out-of-bounds
error. See #9296. (commit)z-index
ordering. (commit)z-index
ordering. (commit)AttributeCommand
class. Closes #17105. (commit)ckeditor5
package as peerDependencies
.Check out the Versioning policy guide for more information.
<details> <summary>Released packages (summary)</summary>Releases containing new features:
Other releases:
FAQs
Paste from Office feature for CKEditor 5.
The npm package @ckeditor/ckeditor5-paste-from-office receives a total of 338,489 weekly downloads. As such, @ckeditor/ckeditor5-paste-from-office popularity was classified as popular.
We found that @ckeditor/ckeditor5-paste-from-office 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.