- Fix Issue 24: Backspace key is broken with one page content
- Bugfix: All pages were not removed after a content reset
- Bugfix: Display update was not triggered after exiting printing mode
- User can now provide a function for
page_margins
, to set margins specific to the page number (for more info read the API)
- Bugfix: Cursor is blurred when editing
contenteditable
fields inside components
- Bugfix: Display update was not triggered when changing
display
orzoom
props
- This library core has been rewritten for Vue3 using an hoisted static
<div>
for pages content to manage page manually and avoid conflicts between DOM contenteditable elements and Vue.js. More info here - SCSS has been converted to basic CSS, so you don't have to install a SCSS compiler anymore
- Updating dependencies
- Removing ESLint for a lighter project
- Fix Issue 16: The component breaks if you remove all the content
⚠️ Warning: starting from this version, the new core implies that for using templates with custom CSS you must rename your single file components with.ce.vue
extension. More info here
- Fix: 2.0.6 static libraries and docs (demo) were faulty because compiled with vue2. Recompiled with vue3.
- Fix Issue 19: Any custom CSS formatting other than the one on
<body>
was not taken into account in print mode
- Fix Issue 17: In some cases, multiple instances of reset_content were launched simultaneously which could cause errors.
- Fix Issue 16: The component breaks if you remove the last character
- Fix warnings about deprecated ::v-deep and print-color-adjust
- Dev dependencies upgrade
- Bug fixing: prevent applying normalize() to template pages HTML as it can break Vue behavior (only Vue3)
- Dependencies upgrade
- Fixing the contenteditable field highlight to the Invoice Template of the Demo
- Adding back Vue2 syntax to the basic example
- Workaround for the Chrome "return from print" bug. Now displays a return arrow to let the user go back to the editor when this bug happens.
- Switching
master
branch to Vue3 (we provide vue2 compatibility on the vue2 branch / @1.x version of this library) - Dependencies upgrade
- Fix Issue 24: Backspace key is broken with one page content
- User can now provide a function for
page_margins
, to set margins specific to the page number (for more info read the API)
- SCSS has been converted to basic CSS, so you don't have to install a SCSS compiler anymore
- Updating dependencies
- Removing ESLint for a lighter project
- Fix Issue 16: The component breaks if you remove all the content
- Fix Issue 19: Any custom CSS formatting other than the one on
<body>
was not taken into account in print mode
- Fix Issue 16: The component breaks if you remove the last character
- Fix warnings about deprecated ::v-deep and print-color-adjust
- Dev dependencies upgrade
- Workaround for the Chrome "return from print" bug. Now displays a return arrow to let the user go back to the editor when this bug happens.
- Fix Issue 11: Using editable prop to provide read only view
- Removing pages manually from the DOM now remove corresponding items from the
content
you provide - Adding
data-page-idx
to pages<div>
s for custom user scripts convenience - [Demo] Add dynamic page break functionality example (still experimental)
- [Demo] Restrict nb of table lines in the invoice template page, fix CSS for printing
- Removing useless surrounding
<div>
s from the synchronized document content - Fix content synchronizing from an empty content array
- Fix content update was not triggered after some of the
executeCommand
functions - [Demo] Reset the history stack after new document creation
- Dependencies upgrade
- Fix Issue 4: problem with ?. operator
- Force white page background when printing
- Adding
overlay
functionality and documentation - Enable printing of CSS background colors/image
- Dependencies upgrade
- Fix Issue 3
- Renaming the static library "VueDocumentEditor"
- Adding UMD example to README.md
- Bugfix Issue 2: Enter key to create new line doesn't seem to work on the demo site
- Bugfix: restoring a new document when user wipes out the entire document
- Undo/Redo mechanism moved to Demo.vue in order to let custom implementation in application
- Bugfix: preserving text selection when calling
execCommand
- Minor display improvements in the Demo about scrollbars
- Better overall compatibility for Firefox
Initial release