Adding link via toolbar is broken in 3.2.0
See original GitHub issueDescribe the bug
I am unable to add a link in wysiwyg mode - after typing the values into the fields and pressing “OK”, I get this error in the console:
index.js:19269 Uncaught ReferenceError: getCustomAttrs is not defined
at Object.toDOM (index.js:19269:36)
at MarkViewDesc.create (index.js:1118:117)
at ViewTreeUpdater.syncToMarks (index.js:1699:45)
at eval (index.js:1268:21)
at iterDeco (index.js:1898:13)
at NodeViewDesc.updateChildren (index.js:1258:9)
at NodeViewDesc.updateInner (index.js:1355:18)
at NodeViewDesc.update (index.js:1347:14)
at ViewTreeUpdater.updateNextNode (index.js:1775:37)
at eval (index.js:1276:30)
And I’ve managed to track down the error to this file
To Reproduce
Steps to reproduce the behavior:
- Create a new editor with default options
- Click the toolbar button to add a link
- Fill out fields, press OK, observe error (link does not appear, and error appears in console)
Expected behavior
Link toolbar button works
Screenshots
I took some screenshots of index.js where the error was occurring, the issue seems to be due to compiling at some point.
The defined function is getCustomAttrs$1() but is being called as getCustomAttrs()

Desktop (please complete the following information):
- OS: Windows
- Browser: Brave/Chromium
- Version: Brave v1.42.88 Chromium 104.0.5112.81
Additional context
My environment: vuejs application Vuejs 2.6.11 I am not using the vue-editor wrapper Other toolbar buttons work as intended, I am having no other issues with the editor so far.
Issue Analytics
- State:
- Created a year ago
- Reactions:8
- Comments:13 (2 by maintainers)
Top Results From Across the Web
cannot add a new link or modify an existing link using ... - GitHub
Tested and found that I cannot add a new link or modify an existing link using the classic block "Link options" (gear icon)...
Read more >Issues for Admin Toolbar | Drupal.org
Title Status Priority Category
ArgumentCountError: Too few arguments Closed (works as designed) Major Bug rep...
Route "views_ui.reports_fields" does not exist Active Normal Bug rep...
Replace README.txt...
Read more >3.2.0 - SupportPal Documentation
Type Issue Description
Improvement DEV‑1620 Added support for Facebook attachments.
Improvement DEV‑2337 Added an indicator for when a draft exists.
Improvement DEV‑2342 Increased the size of...
Read more >ngx-extended-pdf-viewer - UNPKG
72, - 1.0.0-rc.7 #118 corrected the width and the position of the secondary toolbar (which was broken by fixing #115 in 1.0.0-rc.5).
Read more >Harlowe 3.3.3 manual
Using (click-append:) to add a link in the middle of a paragraph. ... 3) ) - but since line breaks between values in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I also had the same problem. However, downgrading the version did not solve the problem.
@jooy2 Problem is in the dependency list of @toast-ui/react-editor (see in package-lock):
"@toast-ui/editor": "^3.1.10"install this in package.json by fixing the version also…I’m also on NextJS and this was fixed for me