question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest version has broken the insert URL link functionality

See original GitHub issue

Describe 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:

  1. Write a text in the wysiwyg format
  2. Insert URL link filled both URL and text
  3. The link is not visible in the wysiwyg and window for insert doesn’t close
  4. 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.

obrazek

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: obrazek

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: obrazek

With the markdown: obrazek

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

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

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:closed
  • Created a year ago
  • Reactions:2
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jethrolarsoncommented, Sep 12, 2022

No, wait, I fixed it on accident by removing an unnecessary cast and typescript suppression πŸ˜„

I’ll put up an MR.

0reactions
jwlee1108commented, Sep 29, 2022

check v3.2.1 please, if you use react or vue wrapper, you need to use v3.2.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix broken links to data - Microsoft Support
Open the workbook that contains the broken link. Β· On the Data tab, click Edit Links. Β· In the Source file box, select...
Read more >
How to Find and Fix Broken Links (5 Methods) - Kinsta
Simply put your site URL into Ahrefs Site Explorer, go to the β€œBacklinks” report, and click β€œBroken” to see the strongest broken backlinks...
Read more >
How to Fix Broken Links On Your Website - Monsido
Checking broken links is essential as a high volume of broken links will be sure to not only damage your search results and...
Read more >
Hyperlinks not working in Outlook? How to make links open ...
The article explains why hyperlinks may not be working in Outlook and provides several solutions to fix the issue.
Read more >
10 BEST Broken Link Checker Tools to Check Your Entire ...
A list and comparison of the best free online Website Broken Link Checker tools. Check and scan your entire website for broken or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found