如何从头开始创建丰富的基本行编辑器? [英] How to create a rich basic line editor from scratch ?

查看:63
本文介绍了如何从头开始创建丰富的基本行编辑器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个丰富的行编辑器(行编辑器而不是文本编辑器,在其他短语中可以编辑一行文本编辑器)。

我的想法是我用内容编辑完成了这个 DIV

I want to create a rich line editor (line editor not text editor, in other phrases a text editor that can edit a single line).
My idea is i done this with a content editable DIV.

<div id='richLineEditor' contenteditable='true'>
</div>



但请给我一些优惠和想法。

我的基本行编辑器应该有一些属性,如粗体,斜体,下划线按钮。尺寸调整的三个按钮(小,普通,大)。

请告诉我这些文本编辑器的核心和架构有什么用。



提前致谢

abforce


But please give me some offers and ideas.
My basic line editor should have some properties like bold, italic, underline buttons. And three buttons for sizing (small, normal, large).
Please tell me how works the core of these text editors and what architecture have.

Thanks in advance
abforce

推荐答案

注意是否有任何可用的开源。浏览他们的文档和代码。这应该会有很大的帮助。



我只是一派 [ ^ ]并找到< a href =http://code.google.com/p/textroom/> textroom [ ^ ]就是其中之一。
Look out if there are any open source available for the same. Go through their documentation and code. That should help a lot.

I just Googled[^] and found textroom[^] is one of them.


这篇关于如何从头开始创建丰富的基本行编辑器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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