rich-text-editor

Is there a lightweight jQuery text editor?

时光怂恿深爱的人放手 提交于 2019-12-04 05:07:07
I have used jQuery's jqrte text editor, but it has many drawbacks. Could anyone please suggest a lightweight jQuery text editor with common tools plus tables and an image upload link with browse button? Why dont you check http://www.queness.com/post/212/10-jquery-and-non-jquery-javascript-rich-text-editors 来源: https://stackoverflow.com/questions/2902709/is-there-a-lightweight-jquery-text-editor

RTF Format in Web Text Editor

拟墨画扇 提交于 2019-12-03 15:45:34
Is there a text editor on the web that supports input from RTF-formatted documents? I know it is a bit of an odd request for webdev, but I need to read RTF documents from the database and edit them in a web-based text editor and store it back in RTF. Before I invest too heavily in a conversion tool, I thought I would ask if any of the many web text editors supported RTF. My research is showing that they don't. Additionally, since this is an MVC 4.6 application, would it be a huge effort to write a two-way RTF-HTML conversion tool in C#? Sample input that would be received by the editor: "{

workaround for contenteditable on iPad

北战南征 提交于 2019-12-03 08:53:49
I have a web application that uses TinyMce to allow rich text editing. Some of my customers are desperate to get it to work on iPad (which doesn't support contenteditable and therefore TinyMce doesn't work) At the moment the only choices I have are: Disallow rich text editing when i detect the browser is iPad. This is not much of a solution because my app relies heavily on rich text editing Wait for iPad to support contentEditable Write my own iPad app. This isn't really workable because it's a big complex app with loads of HTML and javascript and I would have to rewrite it all Use another

How to highlight friends name in Facebook status update box (textarea)?

半腔热情 提交于 2019-12-03 03:21:36
问题 In Facebook status update box, when I type @ and start typing and choose a name, say Steven Gerrard, from the friends list suggested by fb, my friend's name is highlighted in the textarea like this I checked with Firebug and there's only a div.highlighter which contains sort of formated text (Steven Gerrard is within b tags) a textarea inside a div.uiTypeahead. Nothing interesting i could find and a hidden input, that contains the actual text that will be posted: @[100001915747xxx:Steven

What is the Best JQuery WYSIWYM Textile Editor?

≡放荡痞女 提交于 2019-12-03 02:12:37
问题 I need to use a Textile (preferably instead of Markdown), and am looking for a nice WYSIWYM (not WYSIWYG, because of this) JQuery editor. I've seen these: WMD - Markdown, Stack Overflow uses it MarkItUp - Textile support but I don't know if it's WYSIWYM WYMEditor Which one supports both good HTML output and Textile? Update : I only use Markdown now, mainly because it generates slightly more semantic html and it's much more widely adopted. That, and you can use the Cloud9 Ace Editor (source on

How to get text from rich edit control as a CString

浪尽此生 提交于 2019-12-02 20:04:49
问题 I want to get the entire text in a rich edit control as a CString something like GetDlgItemText but this is for dialog boxes. The closest thing i can find from my research is: GetTextRange and get the range by using GetTextLength....But I suspect there is a better way.... 回答1: GetWindowText. GetDlgItemText works to, if you use the parent window and the ID of the RTF Control. WM_GETETXT. If you want to retrieve the complete RTF text you Need to use EM_STREAMOUT (enough samples in the net). 来源:

How to highlight friends name in Facebook status update box (textarea)?

给你一囗甜甜゛ 提交于 2019-12-02 17:48:28
In Facebook status update box, when I type @ and start typing and choose a name, say Steven Gerrard, from the friends list suggested by fb, my friend's name is highlighted in the textarea like this I checked with Firebug and there's only a div.highlighter which contains sort of formated text (Steven Gerrard is within b tags) a textarea inside a div.uiTypeahead. Nothing interesting i could find and a hidden input, that contains the actual text that will be posted: @[100001915747xxx:Steven Gerrard] is awesome What is the secret trick behind this? Normal rich text editors like ckeditor usually

Any WYSIWYG rich text editor that doesn't use HTML (contenteditable or designMode), a la (the new) Google Docs? [closed]

别来无恙 提交于 2019-12-02 15:43:05
Besides the new Google Docs, all the other WYSIWYG web-based rich text editors (ckeditor, tinymce, old Google Docs) I've seen are based on contenteditable or designMode. I personally hate using these editors. It doesn't take much formatting or copying/pasting before the whole experience turns into an exercise in frustration. Returns suddenly start getting double-spaced, unintended formatting gets introduced via pasting from other HTML sources, undo's/redo's are completely broken, formatting becomes excruciatingly difficult to control, etc. I believe this is one of the reasons Google Docs

How to create a rich text editor [closed]

蓝咒 提交于 2019-12-02 14:52:07
Hey all i want to know what is the concept behind creating the rich text editor. i mean how to create a rich text editor. I want to learn the implementation. PS: please donot suggest using YUI or any other built in library. I want to make one my own. So what's the concept behind? Thanks :) The easiest way is the following. It's used by TinyMCE and CKEditor and many others. There are many variations: in particular, if you are creating a code editor, there are clever tricks you can do using textareas and a monospaced font. Dynamically create an iframe and place the editable content within that

Rails 3 and Rich text editor

故事扮演 提交于 2019-12-02 13:52:37
I am building a Rails 3 app with blogging, commenting, and other functionality that require the users to input text. My question is whether it is a better idea to use a Javascript rich text editor or not. What would be the pros and cons. If it is a recommended approach: Which editors are best? How do I use them in my Rails forms? thanks in advance, Steve Most rich text editors for the web use JavaScript. These are some popular ones you could consider jwysiwig markitup Redactor (This is great jQuery based wysiwyg editor that also has a Rails extension I've linked to below.) Bootstrap-wysihtml5