在MVC中需要像word文件一样的字体粗体,斜体,大小,族等功能 [英] Need functionality like word file for font bold, italic, size, family etc in MVC

查看:137
本文介绍了在MVC中需要像word文件一样的字体粗体,斜体,大小,族等功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone ...



早上好......!



我想要的功能如同Web表单中的字词,其中字体大小,系列,颜色,粗体等将由最终用户完成。



问题:我想在所有领域使用这些东西。



如果有人或任何参考,请尽快指导我。



谢谢,

Chintan



我尝试过:



我检查谷歌上的许多工具,但我不知道如何做到这一点。请指导我。

Hello Everyone...

Good morning...!

I want functionality like word in web form where font size,family,color,bold,etc will be done by end user.

Problem : I want to use this things for all fields.

Please if anyone done or any reference then guide me ASAP.

Thanks,
Chintan

What I have tried:

I check many tools on google but i am not getting exact idea for it how to do it.Please guide me.

推荐答案

标准文本框控件不支持提前格式化。您需要使用已建议的富文本编辑器。只需谷歌 MVC的免费富文本编辑器它应该会给你带来大量的结果。



这是搜索结果中的一个: https://www.c-sharpcorner.com/article/asp-net-mvc5-rich-text-wysiwyg-editor/ [ ^ ]
A standrd TextBox control doesn't support advance formatting. You would need to use Rich Text Editor as already suggested. Just google "free rich text editor for MVC" and it should give you tons of results.

Here's one from the search result: https://www.c-sharpcorner.com/article/asp-net-mvc5-rich-text-wysiwyg-editor/[^]


这篇关于在MVC中需要像word文件一样的字体粗体,斜体,大小,族等功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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