Comments (8)
感谢反馈,下个版本添加提示。
from vditor.
同样的问题,请问是怎么解决的呀?
“通过配置自主托管的资源地址到 options的CDN属性上”,请问是怎么配置的呀?
from vditor.
GET https://unpkg.com/[email protected]/dist/js/i18n/zh_CN.js net::ERR_TIMED_OUT
from vditor.
配置 cdn 就可以了。
from vditor.
GET https://unpkg.com/[email protected]/dist/js/i18n/zh_CN.js net::ERR_TIMED_OUT
首先,将node_modules/vditor/dist内的文件,托管到你的网站或者OSS上,得到你的资源链接: https://xxxx.com/vditor/dist/*
然后,配置:new Vditror(options => options.CDN = 'https://xxxx.com/vditor' ) 即可。
from vditor.
配置 cdn 就可以了。
我认为这不是一个良好的设计,首先会带来诊断问题的成本,在遇到类似错误真的阻断init时,至少应该抛出明显的错误
from vditor.
我的CDN文件明明可以打开的,浏览器里直接访问该地址都可以看到js代码,为何还是出错呢?
from vditor.
打开网络开一下
from vditor.
Related Issues (20)
- 在及时渲染和所见及所得模式下代码块的编辑是否可以直接编辑而不是分为上下两栏 HOT 3
- `linkBase` 在切换编辑器时会丢失
- vditor3.10.5版本添加了 updateToolbarConfig 方法 但Releases 版本最新只有3.10.4 HOT 1
- 能否提供一个配置编辑模式的选项呢
- 分屏预览模式左右同步滑动
- insertValue 代码块中的html标签内容也会被解析为markdown格式
- 如何获取被选中的图片
- upload 插件样式不太对劲,不知道是我哪里配置的问题 HOT 1
- 请问一下大佬 upload.handler这个如何使用,一直显示不了图片,没理解您发的意思 HOT 3
- 源码dowm 下来 之后 ,npm build 失败 HOT 2
- Support for newline at start of file HOT 1
- Handling of Enter and Shift+Enter at Details tag HOT 2
- Handling for Sup tag HOT 1
- 代码块相关 HOT 1
- 代码块相关,我觉得还是挺影响体验的 HOT 2
- 能不能滚动页面,目录跟随内容高亮,并且点击目录,目录、页面标题也进行高亮。目前都没有这个功能 HOT 1
- 所见即所得模式的功能 HOT 1
- 从剪贴板粘贴图片同时具备 text/html 和 image 类型时,无法触发自动上传 HOT 1
- 提供非混淆版本的产物代码 HOT 1
- 图片保存方式支持 base64保存,省的这么多图片 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vditor.