🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
MIT License
Bot releases are hidden (Show)
Published by seonim-ryu over 4 years ago
Published by dongwoo-kim over 4 years ago
TOAST UI Editor 2.0 is finally release! This release does not contain shiny new features, but this is more about structural changes aimed for preparing for the next huge step. With this release, we concentred on improving the consistency and performance of markdown editing, modularizing of the extensible features, and reducing the bundle size.
You can see a more detailed explanation about this release on the TOAST UI Weekly.
The biggest change in v2.0 is the newly implemented markdown parser, ToastMark. ToastMark is an extension of the opensource CommonMark.js which strictly adheres to the CommonMark specs, and provides an API that can directly access the abstract syntax tree, which contains the markdown documents' source mapping information, enabling us to be able to solve the previous problems.
The following lists enumerate what has been improved in v2.0 by implementing ToastMark.
TOAST UI Editor, starting from v2.0, uses monorepo structure with GitHub repository, and all packages related to the editor will be managed under this single repository. The main app as well as the wrapper, Editor's extensible features, and library modules are maintained in the apps
folder, plugins
folder, and libs
folder, respectively.
Starting from v2.0, extensible features like chart and uml are called plugins instead of extensions. As each plugin is registered on npm as a separate package, users can install only what the need.
By removing jQuery, separating plugins and internationalization files, and unnecessary codes, we were able to ameliorate the problem of heavy bundle size. If we consider the language files of highlight.js which were unnecessarily included in the bundle before, the total bundle size has reduced from 1.42MB to 582KB.
Because of the structural changes above, there are some breaking changes you should care when upgrading to v2.0. Most of the API's are still the same as before, but the way of using plugins and i18n has changed. The full list of changes you should follow to upgrade is well documented in Migration Guide.
Published by seonim-ryu almost 5 years ago
Published by seonim-ryu almost 5 years ago
Published by seonim-ryu almost 5 years ago
Published by seonim-ryu about 5 years ago
Published by seonim-ryu about 5 years ago
<br>
when pasted from WWE (fix #603)Published by seonim-ryu about 5 years ago
Published by sohee-lee7 over 5 years ago
Published by sohee-lee7 over 5 years ago
Published by sohee-lee7 over 5 years ago
data-tomark-pass
appear when bracket is used for text (fix: #551)Published by sohee-lee7 over 5 years ago
Published by sohee-lee7 over 5 years ago
Published by sohee-lee7 over 5 years ago
Published by sohee-lee7 over 5 years ago
Published by sohee-lee7 over 5 years ago
TAP
issue on wysiwig editor (close #407)(#426)Published by sohee-lee7 over 5 years ago
setPlaceholder
Published by sohee-lee7 over 5 years ago
Published by sohee-lee7 almost 6 years ago
Published by sohee-lee7 almost 6 years ago