我需要做什么才能让新的 HTML 编辑器 ajax 控件用作共享点内容编辑器 Web 部件?

发布于 2024-07-19 12:02:37 字数 410 浏览 4 评论 0原文

Microsoft 刚刚发布了一些新的 ajax 控件,其中包括 ajaxed HTML 编辑器控件。

http://www.asp.net/learn/ Ajax-Control-Toolkit/tutorial-50-cs.aspx

我想在 Sharepoint 中尝试一下(因为内置的 Sharepoint 很糟糕(根本没有跨浏览器并且在 IE 上不稳定)我尝试了免费的 Telerik一个,但它不是很稳定,

我想在页面上进行控制不会太难,但是我如何确保生成的 HTML 以 Sharepoint 方式存储(tm)

Microsoft have just released a few new ajax controls including an ajaxed up HTML editor control.

http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-50-cs.aspx

I would like to try this in Sharepoint (as the built in Sharepoint one is awful (no cross browser at all and flaky on IE) I tried the Telerik free one but it was not very stable.

I guess that getting the control up on a page won't be too hard, but how do I make sure the resulting HTML is stored in the Sharepoint way(tm)?

Thanks

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

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

发布评论

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

评论(2

花落人断肠 2024-07-26 12:02:37

如果您打算替换标准的 SharePoint 富文本编辑器,您可能会发现使用 jQuery 比 ajax 控件工具包容易得多。 MS ajax 控件有一个服务器组件 - 您也许可以将其放入自定义列类型中,但如果您只是用更好的客户端替换文本框,则会容易得多。

标准控件的工作方式类似 - 在服务器上创建包含 html 的标准文本框,并使用 javascript 隐藏该文本框并将其连接到富文本编辑器。

If you intend to replace the standard SharePoint rich text editor, you would likely find it much easier to use jQuery than the ajax control toolkit. The MS ajax controls have a server component - you may be able to get it into a custom column type, but it's going to be a lot easier if you just replace the textbox with something better clientside.

The standard control works in a similar way - a standard textbox containing html is created on the server, and javascript is used to hide that and connect it to the rich text editor.

蓝眼泪 2024-07-26 12:02:37

实际上,您无需执行任何操作即可设置 SharePoint 的 HTML 格式。 如果您正在使用字段控件,则 SharePoint 将从您的控件中删除大量 HTML。

There is really nothing you need to do to format the HTML for SharePoint. If you are working with a field control you can expect that SharePoint will strip out a lot of the HTML from your control.

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