Latest version has broken the insert URL link functionality
See original GitHub issueDescribe the bug
After the update to the @toast-ui/editor@3.2.0 the dialog for URL link insert fails.
When started in the debug mode, The debuger raises an exception getCustomAttrs is not defined at line 19255 (in the transpilled code).
To Reproduce
Steps to reproduce the behavior:
- Write a text in the wysiwyg format
- Insert URL link filled both URL and text
- The link is not visible in the wysiwyg and window for insert doesnβt close
- The link is inserted - as is visible in the mardown, but complete text is put to the text source code (to the ````txt β¦ ``` block)
Expected behaviour
As before update - simply insert the link
Screenshots
If applicable, add screenshots to help explain your problem.

The OK button doesnβt close the window.
However, when closed using the Cancel (ZruΕ‘it on the image), link is visible - but only in the markdown:

Unfortunately, save fails with an exception and change is not saved. Doing again and saving without former switching to the markdown passes, but the text is converted to the string code:

With the markdown:

Whatβs worse, the same problem occurs when I am trying to insert the link directly in the markdowns without using the dialog:

it puts several ~to the code and when debugged it always fails with the error:

and application hangs up.
Additional context
The used modules are: aymine.com@5.56.7 βββ @babel/core@7.18.10 βββ @babel/plugin-proposal-class-properties@7.18.6 βββ @babel/plugin-proposal-object-rest-spread@7.18.9 βββ @babel/preset-env@7.18.10 βββ @babel/preset-typescript@7.18.6 βββ @rollup/plugin-alias@3.1.9 βββ @rollup/plugin-babel@5.3.1 βββ @rollup/plugin-commonjs@15.1.0 βββ @rollup/plugin-node-resolve@9.0.0 βββ @toast-ui/chart@4.4.3 βββ @toast-ui/editor@3.2.0 βββ check-dependencies@1.1.0 βββ composer@4.1.0 βββ npm-dts@1.3.12 βββ npm@8.18.0 βββ rollup-cache@1.2.0 βββ rollup-plugin-terser@7.0.2 βββ rollup-plugin-typescript2@0.27.3 βββ rollup@2.78.1 βββ tui-calendar@1.15.3 βββ tui-code-snippet@2.3.3 βββ tui-color-picker@2.2.8 βββ tui-tree@4.0.9 βββ typescript@4.7.4
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:9 (5 by maintainers)

Top Related StackOverflow Question
No, wait, I fixed it on accident by removing an unnecessary cast and typescript suppression π
Iβll put up an MR.
check v3.2.1 please, if you use react or vue wrapper, you need to use v3.2.2