asp.net集成ckeditor中的格式问题 [英] Formatting issues in asp.net integrated ckeditor

查看:68
本文介绍了asp.net集成ckeditor中的格式问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用集成了asp.net的ckeditor,但在诸如Bold,Italic&强调。我们不得不按多次。



有人为此工作吗?使用3.6.6.2版本

解决方案

在ASP.NET环境中使用CKEditor的情况如下:




  • 用于ASP.NET控件的官方CKEditor尚未更新为CKEditor v4。

  • 可以手动进行将与.NET控件一起使用的编辑器版本更新为最新的v4版本,但是,这不会为您提供CKEditor 4的所有功能,因为例如您将只能访问v3中现有的配置选项。我将在下面列出您自己执行此更新的步骤。

  • CKEditor 3行仅获得安全更新。此版本没有新功能或代码反向移植,所有开发现在都在v4版本中进行。



您当然可以用最新版本的CKEditor 4.x替换现有ASP.NET集成中的CKEditor库(编辑器本身)。根据您的需求,它可能会满足您的需求。这将解决例如各种IE问题。从我的理解来看,内联编辑是行不通的。



以下是在ASP.NET控件v3.6.6.2内手动更新CKEditor版本所需的步骤(最新的ASP.NET版本):





请特别注意,在CKEditor 4.1中,我们引入了高级内容过滤器(ACF)。如果您打算使用内容过滤器,则必须使用 config.js 来更改ACF设置,因为无法从控件级别完成此操作。



最后但并非最不重要的一点是,CKEditor是一个纯JavaScript应用程序,因此在大多数情况下,您可能只需要使用标准安装包并使用JavaScript集成而不是ASP.NET控件即可。 / p>

I'm using asp.net integrated ckeditor and having issues with content formatting like Bold, Italic & Underline. We had to press multiple times.

Any work around for this ? Using 3.6.6.2 version

解决方案

The situation with using CKEditor in the ASP.NET environment looks as follows:

  • The official CKEditor for ASP.NET control has not been updated to CKEditor v4 yet.
  • It is possible to manually update the editor version used with the .NET control to the latest v4 version, however, this will not give you all capabilities of CKEditor 4 because e.g. you will only have access to configuration options existing in the v3. I will list the steps required to perform such update by yourself below.
  • The CKEditor 3 line only gets security updates. No new features or code backports are done for this version and all development now happens in the v4 line.

You are of course free to replace the CKEditor library (the editor itself) in the existing ASP.NET integration with the latest version of CKEditor 4.x. Depending on what you need, it may fit your needs. That will fix e.g. the various IE problems. From what I understand inline editing won't work, though.

Here are the steps needed to manually update CKEditor version inside the v3.6.6.2 ASP.NET control (the latest ASP.NET version):

Please note, in particular, that in CKEditor 4.1 we have introduced Advanced Content Filter (ACF). If you plan to use the content filter, you would have to use config.js to change ACF settings as it can’t be done from the control level.

Last but not least, CKEditor is a pure JavaScript application, so in most cases you can probably just use the standard installation package and use the JavaScript integration instead of the ASP.NET control.

这篇关于asp.net集成ckeditor中的格式问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆