N2CMS TinyMCE filter_allowed_protocols for Skype:{user}?call
我正在使用 N2CMS (2.2.1.1),并且我有一个简单的 TextPart,我试图在其中输入一个 Skype 按钮,其中包含带有以下 url 的链接 ( skype:{user}?call )。
我将其输入“HTML”编辑器(不是所见即所得编辑器),每次单击更新时,tinymce 都会将 URL 重写为“/N2/Content/skype:{user}?call”,这会导致“危险请求” “例外,更重要的是无法拨打 Skype 电话。
我知道我需要告诉 TinyMCE “skype:” 是允许的协议,但在新版本的 N2CMS 中,N2 安装从 zip 运行 - 我不确定如何/在哪里告诉 TinyMCE 允许 url 中的 skype: 协议。我特别想避免修改zip,这样以后更新N2CMS就不再是PITA了。
I am using N2CMS (2.2.1.1) and I have a simple TextPart that I am trying to enter a skype button into which contains a link with the following url ( skype:{user}?call ).
I am entering this into the "HTML" editor (not the wysiwyg editor) and every time i click update, tinymce is rewriting the URL to "/N2/Content/skype:{user}?call" which is causing a "dangerous request" exception and more importantly is not working to make a skype call.
I know I need to tell TinyMCE that "skype:" is an allowed protocol, but in the new version of N2CMS the N2 installation runs from a zip - I'm unsure how/where to tell TinyMCE to allow the skype: protocol in url's. I especially want to keep from modifying the zip so that in the future it is not a PITA to update N2CMS.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尽管最新版本中的N2CMS使用ZIP Archive作为其文件的默认存储,但Tinymce设置仍应位于它们一直以来的同一地点 - 在Web.config中。
这是如何添加值的简短示例,
使我走上正确的轨道,确切的答案;但是,是:
Although N2CMS in latest versions uses ZIP archive as a default storage for its files, TinyMCE settings should still be in the same place where they always were - in web.config.
Here is brief example of how to add values
Put me on the right track, the exact answer; however, is: