tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.

MIT License

Downloads
589.4K
Stars
16.7K
Committers
28

Bot releases are visible (Hide)

tui.editor - v2.0.1

Published by seonim-ryu over 4 years ago

Bug Fixes

Editor

  • 4c4807a Fix: error when emphasis command executed in wysiwyg (fix #734) (#858)
  • 6b66355 Fix: change types from button to toolbarButton (fix #750) (#863)
  • e31c65e Fix: incorrect position of util element (fix #834) (#835)
  • 1731558 Fix: update getOffset (fix #849 #860) (#848)
  • 8d6d840 Fix: external package in webpack.config.i18n.js (fix #862) (#843)

React Wrapper

  • a2eb9c3 Fix: omit type of el option in react wrapper (fix #841) (#856)

Vue Wrapper

  • 09fc9cf Fix: add viewer options prop (#832)

jQuery Wrapper

  • 6276e1c Fix: language file is not registered in global environment (fix #845) (#846)
tui.editor - v2.0.0

Published by dongwoo-kim over 4 years ago

New TOAST UI Editor 🎉🎉🎉

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.

What's New?

ToastMark: a New Markdown Parser

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.

  • More accurate syntax highlighting in markdown editor
  • Improved live preview performance and scroll sync accuracy
  • Improved cursor location based toolbar button activation

Monorepo Structure

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.

Separation of Plugin Packages

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.

Reduced Bundle Size

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.

Breaking Changes

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.

tui.editor - v1.4.10

Published by seonim-ryu almost 5 years ago

Bug Fixes

  • bba6d51 Fix: broken list in table when changed to markdown (fix #708) (#709)

Documentation

  • 5dd48f6 Docs: add issue templates
tui.editor - v1.4.9

Published by seonim-ryu almost 5 years ago

Bug Fixes

  • 7bd700f Fix: occurs script error when an inline element contains br (fix #700) (#701)
tui.editor - v1.4.8

Published by seonim-ryu almost 5 years ago

Features

  • e6de068 Feat: update webpack version to 4 (close #671) (#672)

Bug Fixes

  • 11c5e04 Fix: disable 'remove row' menu on table header (close #676) (#677)
  • 5f9bcce Fix: webpack vulnerability fix (#665)
  • 2f3abfe Fix: maintain selection style after copying from table (fix #682) (#683)
  • 2a3fdaa Fix: convert a tag in link to markdown syntax (fix #688) (#689)
  • 97d4d2f Fix: remove details and summary tag on wwe (fix #686) (#687)
  • 46e53c6 Fix: brs in table are newlined (fix #680) (#681)
tui.editor - v1.4.7

Published by seonim-ryu about 5 years ago

Features

  • 03b98c1 Feat: apply @toast-ui/doc
  • 7f084bd Feat: improve cursor of table in wwe (fix #658)

Bug Fixes

  • c97ac9e Fix: add exception when having wrong table contents (fix #587)
  • 3aa18aa Fix: remove data-tomark-pass property on empty element tag (fix #613)
  • 990b681 Fix: add min-height on item of task (fix #637) (#638)
  • e8a4959 Fix: remove empty line between text and code block (fix #624)
  • ca9d03e Fix: add tag for style priority (fix #639)
  • b1c06d8 Fix: emphasis syntax broken with inner styles (fix: #557)
  • be6878b Fix: move spaces between tag and text out of tags (fix #548)
  • 431556c Fix: blank lines between lists of the same type are ignored (fix #653) (#654)
  • 3227358 Fix: XSS Vulnerability using anchor tags (fix #628)
  • dbf794c Fix: remove filtering anchor tag for inline style commands (#656)
tui.editor - v1.4.6

Published by seonim-ryu about 5 years ago

Bug Fixes

  • e39b2a6 Fix: exception when preview is not shown (fix: #597)
  • e83a550 Fix: line break works correctly (fix #552)
  • 3398714 Fix: redo is not work on table (fix #503)
  • 1e43712 Fix: convert newline to <br> when pasted from WWE (fix #603)
  • 6568e95 Fix: remove double brs on preview (fix #605)
tui.editor - v1.4.5

Published by seonim-ryu about 5 years ago

Features

  • bea4e01 Feat: add Italian translation (#582)
  • 23dcb78 Feat: preserve the existing HTML when initializing Viewer (close #360)

Bug Fixes

  • cb7afce Fix: space in span disappear when covert to wysiwyg
tui.editor - v1.4.4

Published by sohee-lee7 over 5 years ago

Bug Fixes

  • 517ae42 Fix: continuelist works in codeblock (fix: #529)
  • cd8f340 Fix: rendering is different between preview and wysiwyg (fix: #528)
  • f14d984 Fix: left/right key works wrong around hr (fix: 543)
  • 201d9c6 Fix: data-tomark-pass appear when bracket is used for text (fix: #551)
  • 6212d75 Fix: color-picker apply button position (#544)
  • afde78e Fix: emphasis syntax broken when tag is nested (fix: #539)
  • 585c75f Fix: undo stack do not clear when setValue (fix: #549)
  • 7cdd915 Fix: scroll sync does not work in last line
  • f7cb8b5 Fix: exception (fix #97)
  • fa07c9d Fix: codeblock bash comment works like heading when scroll sync (fix #275 #92)
  • 791d28a Fix: spelling: Change "writting" to "writing"
  • 9423b6d Fix: exception occurs when called setEndBeforeRange in Windows Chrome 75 (#571)
  • dfa367a Fix: IEditorOptions does not have 'viewer' option (fix: #566)
  • 2267780 Fix: scroll move to the top when change text color (fix: #569)
  • e731b8c Fix: exception occurs when called setEndBeforeRange in Windows 10 Chrome 75

Enhancement

  • f179bb0 Refactor: change naming (reflect code review)
tui.editor - v1.4.4-alpha.1

Published by sohee-lee7 over 5 years ago

Fix bugs

tui.editor - v1.4.4-alpha.0

Published by sohee-lee7 over 5 years ago

Bug Fixes

  • 129e93753173a9533f4ae3aff7dfbd5128ae1953: data-tomark-pass appear when bracket is used for text (fix: #551)
tui.editor - v1.4.3

Published by sohee-lee7 over 5 years ago

Bug Fixes

  • 793c3ec Fix: exception when styleNode does not have br
  • c1c163b Fix: make div in table when replaceContent is executed (fix: #535)
  • d8bd303 Fix: position of task image is wrong in wysiwyg (fix: #538)
tui.editor - v1.4.2

Published by sohee-lee7 over 5 years ago

Bug Fixes

  • 9cff5e3 Fix: differ newline processing between viewer and MS office when pasting (fix #499) (#514)
  • fdae46e Fix: data-tomark-pass appear when converting (fix: #511)
  • 4cb49d4 Fix: heading is not pasted in wysiwyg (fix #506)
  • a75fd61 Fix: space is not convert html entity when pasting (fix: #432)
  • c5fc579 Fix: Cursor is inserted in HR
  • bddd27f Fix: not insert data-tomark-pass when img tag has src (fix: #502)
  • f7c8e4d Fix: alttext do not work in addImageBlockHook (fix: #349)
  • 9b68e85 Fix: side-effect by #502
  • 21d8f0a Fix: side-effect by #511

Enhancement

  • 72390cc Refactor: remove unused text

Documentation

  • 2e9541b Docs: example link udpate
tui.editor - v1.4.1

Published by sohee-lee7 over 5 years ago

Features

  • 557d377 Feat: add Swedish language
  • 19ec26d Feat: implement to maintain tag inserted in markdown (fix #483)
  • 8e2592e Feat: implement list in table (fix #321)

Bug Fixes

  • b6010f9 Fix: range is wrong when using list in table (fix #497)
  • 0e271bd Fix: disappear line break when pasting in wysiwyg (fix #481)
  • 3a03f7e Fix: enter make blank line at end of the styled text(ex: bold) in the list of table
  • ea568bc Fix: merge td with div when using replaceContent of TextObject

Documentation

  • e75ab08 Doc: add UNOTES that is Visual Studio Code Extension (close #44)
tui.editor - v1.4.0

Published by sohee-lee7 over 5 years ago

Features

  • e78c3b6 Feat: use :before as clickable task area (close #436)
  • 9f886f9 Feat: add Galician language
  • 4111722 Feat: add env param for render of markdownit (close: #375) (#467)
  • cd7d4d5 Feat: add api for setting preview delay time (close: #373)
  • b17274d Feat: link attribute option (close: #288)

Bug Fixes

  • fe1d964 Fix: when codeblock have tag by text, change the tag text to html entities (fix: #300)
  • 021e28b Fix: unexpected data-tomark-pass in codeblock (close #403)
  • 5da83a2 Fix: arrow bracket is shown as html entities in codeblock (close: #456)
  • 897c1e1 Fix: unexpected data-tomark-pass in codeblock (close #403)
  • 5af2125 Fix: xss vulnerability (close: #386)
  • ddb4534 Fix: can not delete br in table by delete key (close #405)
  • 6e78ccb Fix: mouseover always is registered (close: #473)
  • ec16772 Fix: ignore first line break of table in wysiwyg (close #470)
  • eda7e2c Fix: blocking paste when cursor in table of wysiwyg (close: #451)
  • a8cf0fb Fix: paste text into empty block (close: #474)
tui.editor - v1.3.3

Published by sohee-lee7 over 5 years ago

Features

  • 753c084 Feat: toggle bold, italic, strike (close: #434)

Bug Fixes

  • d817f02 Fix: list TAP issue on wysiwig editor (close #407)(#426)
  • e0808de Fix: To prevent 'zh_TW' covering 'zh_CN' config. (close: #418)
  • 02148af Fix: remove inlin code style when enter key occurs (close: #408)
  • 7faf0fa Fix: br insert in the inline tag when press enter in styled text of table (close: #404)
  • 4453802 Fix: consider other style node when enter press in styled text of the table
  • e7cb146 Fix: paste underline text from ppt (close: #419)
  • cf41d4d Fix: paste cells from excel to table of wysiwyg (close: #420)
  • 12ab35f Fix: rendering long contents when height is auto (close: #410)
  • 00b75fa Fix: underline(_) is not allowed inside words(fix #409)

Enhancement

  • 7798890 Refactor: isInTable function is used in overall code
  • c98d835 Refactor: some function move domUtils for general use
  • 8cf1ccd Refactor: isInTable function is moved to WysiwygEditor
  • 1de3f34 Refactor: reflect code review
  • 1d0df11 Refactor: rename isStyledTextNode to isStyledNode

Documentation

  • 18b8454 Doc: more detail comments
tui.editor - v1.3.2

Published by sohee-lee7 over 5 years ago

Bug Fixes

  • a883a35 Fix: JSDoc typo on setPlaceholder
  • edd9322 Fix: In ie, typing Korean does not work (close #425)

Documentation

  • 8432a90 Doc: add github.min.css (close: #46)
  • a2cf8fe Doc: more clear description
  • 6a2cda5 Doc: add link of react wrapper
tui.editor - v1.3.1

Published by sohee-lee7 over 5 years ago

Features

  • df974bd Feat: paste into cell of table (close #365 #167)
  • 8c7d95d Feat: add "placeholder" support in Markdown and WYSIWYG mode (fix #117)
  • ed078b0 Feat: add Traditional Chinese (zh_TW).

Bug Fixes

  • 5411fd1 Fix: : class type
  • 52f0fcd Fix: parameter of scrollTop should integer
  • 6629d01 Fix: new line is just div tag (no br) in IE10
  • 9d55869 Fix: ne server is not support safari
  • 320a745 Fix: Bundle dependencies (fix #53)
  • 5348fd9 Fix: alert appear when paste into multi selected cell
  • e2b25a5 Fix: selection does not work in IE11 (close: #376)
  • c92f9ce Fix: If clipboard has only text node, paste does not work in codeblock
  • 712bc94 Fix: exception when paste into selecting table and other lines
  • d4722ab Fix: change some dutch (nl_NL) translations
  • 9834349 Fix: remain table and heading after delete all (close #377)
  • 12e9b9f Fix: pasting after select all or part of a table, meaningless tables and rows are created (close #378)
  • 3667648 Fix: undo stack is incorrect in wysiwyg (close #381)
  • 87e2f54 Fix: This logic was changed to _removeEmptyRows function, but the code was not removed
  • 4b01ea7 Fix: consider depth when apply list (close: #392)
  • 7c45ffd Fix: can not load editor module in typescript
  • 3d5b51c Fix: memory leak

Documentation

  • f688836 Docs: fix typo (#383)
tui.editor - v1.3.0

Published by sohee-lee7 almost 6 years ago

Features

  • 219f999 Feat: initial html text (ref #116)
  • 6e03a02 Feat: add customConvertor options to support customization of converetor for editor and viewer
  • 4c9ba9b Feat: export markdown-it instance without code highlight (#304)
  • 0bfb6cc Feat: add new options for customconvertor
  • 00566a6 Feat: modify new line in codeblock
  • c586b60 Feat: backspace merge codeblock
  • 90180fd Feat: use namespace (#358)
  • 4bb1dd7 Chore: update squire to v1.9.0

Bug Fixes

  • fd682fe Fix: test fail because innerHTML is to be initialValue
  • d122e40 Fix: willPaste has also begun to occurs when insertPlainText
  • 581647d Fix: state change not occurs when change mode
  • 2c6ced5 Fix: blockquote remove all when blockquote command to multi line (close
  • 8e29d7c Fix: codemirror rendering red dot when input specialchars (close #359)
  • a01af32 Fix: shortcut of blockquote and task is not work (close #356)

Documentation

  • 9c3dcbe Docs: add ember wrapper
  • 23d829c Docs: Make Chinese translation more readability. (#352)
  • db940b0 Doc: fix typo in jsdoc
  • 5e14ea7 Docs: add link for ember wrapper
tui.editor - v1.2.10

Published by sohee-lee7 almost 6 years ago

Bug Fixes

  • a8f2787 Fix: change example for fix exception in ie
  • 5d62645 Fix: when not selecting image file, exception in edge #348

Enhancement

  • dcf0e99 Perf: improve getMarkdown by change regular expression