.Net HTML 编辑器控件

发布于 2024-11-10 10:31:53 字数 349 浏览 4 评论 0原文

我需要将 WYSIWYG 控件添加到 .NET 表单中。我在几个网站上从 SpiceLogic 找到了这个库,想知道这是否是一个不错的库?

http://www.spicelogic.com/Products/NET-Win-HTML-Editor -Control-8/

如果有人有任何额外的意见,我也想知道任何其他不错的替代方案,无论是免费的还是非免费的。

预先感谢您对此的任何意见!

编辑之前应该澄清这一点,但这是一个桌面应用程序。

I need to add in a WYSIWYG control into a .NET form. I found this one from SpiceLogic on several sites and was wondering if this is a decent library to use?

http://www.spicelogic.com/Products/NET-Win-HTML-Editor-Control-8/

If anyone has any additional input, I also would like to know of any other decent alternatives, both free and non-free.

Thanks in advance for any opinions on this!

EDIT Should have clarified this before, but this is a desktop application.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

聽兲甴掵 2024-11-17 10:31:53

您还可以尝试以下策略之一:

  1. 使用 RichTextBox 控件,该控件公开 FlowDocument。编写一个将 FlowDocument 转换为 HTML 的程序。由于 FlowDoc 比 HTML 受到更多限制,因此这种转换可能非常简单(部分 -> div、段落 -> p、样式 -> css 或样式属性等)。

  2. 使用 MSHTML 并将其置于编辑模式。 http://msdn.microsoft.com/en- us/library/aa753622(v=vs.85).aspx

You can also try one of these strategies:

  1. Use the RichTextBox control, which exposes a FlowDocument. Write a program that converts the FlowDocument to HTML. Since FlowDocs are much more constrained that HTML, this conversion might be pretty straightforward (sections -> div, paragraph -> p, styles -> css or style attributes, etc).

  2. Use MSHTML and put it into edit mode. http://msdn.microsoft.com/en-us/library/aa753622(v=vs.85).aspx

度的依靠╰つ 2024-11-17 10:31:53

您可能想尝试 XStandard。我已经在 CMS 网站中使用过它,效果非常好。您还可以将其与桌面应用程序一起使用。有免费的“lite”版本和for=pay pro 版本。它创建 XHTML 标记并具有许多灵活的内置功能。

作为比较,我使用了 Telerik RAD Editor,XStandard 更好(IMO)。我还尝试过其他特定于 Web 的解决方案,例如 FCKEditor 和 TinyMCE,我更喜欢 XStandard。

You may want to try XStandard. I have used it in CMS web sites and it works great. You can also use it with desktop apps. There is a free "lite" version and a for=pay pro version. It creates XHTML markup and has lots of slick built-in functionality.

As a comparison, I have used Telerik RAD Editor and XStandard is much better (IMO). I have also tried other web-specific solutions like FCKEditor and TinyMCE and I prefer XStandard.

小傻瓜 2024-11-17 10:31:53

如果您关心的是从一开始就获得 XHTML,并且应该在 Web 上发布,那么,我会说,“是的”,您可以尝试 SpiceLogic 的该组件,尤其是 5.x 版本,它发布得非常好。最近。它具有许多功能,例如为电子邮件客户端嵌入图像、将本地图像上传到 FTP、从 MS Word 粘贴、丰富的表格对话框、图像、超链接、符号、内联拼写检查器和拼写检查器对话框等等。

https://www.spicelogic.com/Products/NET- WinForms-HTML-Editor-Control-8

features

所有屏幕截图:

http://www.spicelogic.com/Products/NET- WinForms-HTML-Editor-Control-8/屏幕截图

If your concern is to get XHTML all the time right from the beginning which should be published on the Web, then, I would say, "Yes", you can try that component from SpiceLogic, especially the version 5.x which was released very recently. It comes with many features like embedding images for an email client, Uploading local images to FTP, paste from MS Word, rich Dialogs for Tables, Images, Hyperlink, Symbols, Inline Spell Checker and Spell Checker dialogs, and more.

https://www.spicelogic.com/Products/NET-WinForms-HTML-Editor-Control-8

features

All Screenshots:

http://www.spicelogic.com/Products/NET-WinForms-HTML-Editor-Control-8/Screenshots

我ぃ本無心為│何有愛 2024-11-17 10:31:53

TinyMCE 是实现这一目标的好方法。这里介绍一种在Winform中嵌入TinyMCE的方法。我测试了它,它工作得很好: https://github.com/Rocker93/winforms-html -editor

另一种解决方案是CEFSharp。集成并不容易,但它有很好的文档记录,并且是我发现的最强大且免费的解决方案。

TinyMCE is a great way to achieve this. Here is a way to embed TinyMCE in Winform. I tested it and it works pretty well: https://github.com/Rocker93/winforms-html-editor

An other solution is CEFSharp. The integration is not easy but it's very well documented and it's the most powerful and free solution I have found.

秋日私语 2024-11-17 10:31:53

在工作中,我们使用 telerik 控件来控制这些东西:
http://www.telerik.com/products/aspnet-ajax/editor.aspx

但它绝对不是免费的。

At work we use telerik controls for this stuff:
http://www.telerik.com/products/aspnet-ajax/editor.aspx

its definitely not free though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文