GrapesJS / tui-image-editor

GrapesJS TOAST UI Image Editor
BSD 3-Clause "New" or "Revised" License
87 stars 37 forks source link

image editor icons not showing #31

Closed deep-envertis closed 1 year ago

deep-envertis commented 2 years ago
pluginOpts: {
        [tUIImageEditor]: {
            script: [
                'https://uicdn.toast.com/tui.code-snippet/v1.5.2/tui-code-snippet.min.js',
                'https://uicdn.toast.com/tui-color-picker/v2.2.7/tui-color-picker.min.js',
                'https://uicdn.toast.com/tui-image-editor/v3.15.2/tui-image-editor.min.js'
            ],
            style: [
                'https://uicdn.toast.com/tui-color-picker/v2.2.7/tui-color-picker.min.css',
                'https://uicdn.toast.com/tui-image-editor/v3.15.2/tui-image-editor.min.css',
            ],
        }
    }

the still remains.

Screenshot

Originally posted by @deep-envertis in https://github.com/artf/grapesjs-tui-image-editor/issues/20#issuecomment-1030762839

luis030821 commented 2 years ago

Did you manage to solve your problem, I have the same error, I don't know how to solve it

abolabo commented 2 years ago

@artf the same issue. CORS blocking of remote svgs from github

abolabo commented 2 years ago

should i change url for icons via configuration? i mean this https://github.com/artf/grapesjs-tui-image-editor/blob/master/src/index.js#L62

artf commented 1 year ago

In the latest release https://github.com/artf/grapesjs-tui-image-editor/releases/tag/v1.0.1 we use SVG icons integrated with the image editor so this issue should not be a problem anymore.