nhn / tui.editor

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

Home Page:http://ui.toast.com/tui-editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to load resource:https://uicdn.toast.com/editor/latest/purify.js.map

ConanJordan opened this issue · comments

Summary

Failed to load resource:https://uicdn.toast.com/editor/latest/purify.js.map

Screenshots

source

image

browser result

image

Version

As we can see in source image, it was the latest version at 2022/04/25.

Additional context

It seems to be a resource accessing problem. But I just have no idea how to get it.
Very appreciate if anyone can give me a hand.

@ConanJordan I was confused and I just deleted the comment I wrote because I thought it would confuse you.

Is this problem still happening again? There is no particular problem when I made a simple HTML file and tested the code below.

<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <meta charset="UTF-8" />
    <script src="https://uicdn.toast.com/editor/latest/toastui-editor-viewer.js"></script>
    <link
      rel="stylesheet"
      href="https://uicdn.toast.com/editor/latest/toastui-editor-viewer.min.css"
    />
  </head>

  <body>
    <div id="viewer"></div>

    <script>
      const Viewer = toastui.Editor;
      const viewer = new Viewer({
        el: document.querySelector("#viewer"),
        height: "600px",
        initialValue: "[Google](https://google.com)"
      });
    </script>
  </body>
</html>

@jwlee1108

Sorry to reply so lately.
Still have no idea how the problem happened.
But it was OK when I took a test on other device.

Anyway, it is appreciate to have your comment.