wysiwyg

Google chrome onbeforeunload wrong behavior with iframe

安稳与你 提交于 2019-12-04 17:16:40
问题 Let say I have two pages. One of them contains another one inside as iframe. If you subscribe to onbeforeunload event on the parent page, then this event doesn't triggers if you close tab when iframe is in focus. I suppose it is a bug as written here: Google Chrome issues But I mentioned that, for example, google docs handle this situation. Can anyone give me a solution? Important note that I have no actual access to the iframe content as it is a third party html editor (WYSIWYG). 回答1: I know

wysiwyg html editor build in html/javascript for position absolute elements

十年热恋 提交于 2019-12-04 17:13:30
I'm currently on the stage of research for my new project. I'm looking for a wysiwyg html editor that builds the html elements with position absolute. The reason why I want this is because I want to give users more freedom when they design their pages. Something similar with designing a html page in photoshop. I'm not looking for anything fancy. The users can only add rectangles(width, height, x,y , color) , text, image and probably some form elements(textarea, button, combo-box etc.) So.. is there anything already done, that I could use , or I need to build it myself which could take some

Implement a WYSIWYG document editor in WPF?

安稳与你 提交于 2019-12-04 16:00:30
How will you approach to implement a WYSIWYG document editor in WPF? This editor is going to be very similar to WYSIWYG html editors, but back-end data structures do not have to be html. Currently, I have a working version based on mshtml control implemented in c++ (this is pretty much like MS InfoPath). I'm seeking to take out the mshtml dependency from this tool, so using WPF WebBrowser control is a choice I want to avoid. Basic features to support: Flow style document Supports a basic set of controls (TextBox, DropDown, ListBox, DatePicker, etc) Supports basic styles Supports tables (resize

How do online rich text editors work?

落花浮王杯 提交于 2019-12-04 08:58:48
问题 I was wondering how online rich text editors maintain the formatting when you paste text from a webpage or document. A standard textarea box only takes text while these WYSIWYG editors seem to use a DIV. How does it work? 回答1: Online rich text editors use contentEditable or designMode to take advantage of the browser's native support for HTML editing. When you paste into a contentEditable or designMode element, the browser puts HTML directely into the element. Try it yourself by pasting into

Google Closure Editor/WYSIWYG

﹥>﹥吖頭↗ 提交于 2019-12-04 08:26:37
问题 Does anyone have experience with Google Closure Editor/WYSIWYG? I'm thinking of moving from CKEDITOR to Google Closure Editor/WYSIWYG. Ideally I'd love to use the etherpad editor but it doesn't appear that anyone has separated the editor from all the app. Anyhow, for Google Closure Editor/WYSIWYG, does anyone know, does it support the real-time collaborative aspects seen in Google Docs? 回答1: The Google Closure editor is a wrapper around the built-in browser editing capabilities. It is thus

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

会有一股神秘感。 提交于 2019-12-04 07:25:42
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Besides the new Google Docs, all the other WYSIWYG web-based rich text editors (ckeditor, tinymce, old Google Docs) I've seen are

How reliable is using contenteditable on a div for a WYSIWYG editor?

╄→尐↘猪︶ㄣ 提交于 2019-12-04 06:59:23
I believe the title is pretty self-explanatory but still, maybe, I should ask in detail. I'm building a WYSIWYG editor and I'm really at the beginning of it. So, I realized that maybe knowing the pros and cons would enlighten me. Basically, my question is, since I want an editor that would work at least with 90% in all major browsers, how further I can go using contenteditable within a div and what are the cons and pros of using contenteditable when compared with designMode and iframe? Also, while researching I've found this editor . I believe it is not using any of these attributes and it's

Creating WYSIWYG form builder (á la Wufoo) in Rails

[亡魂溺海] 提交于 2019-12-04 06:01:05
I have to add Wufoo-like WYSIWYG form-builder functionality to a Rails webapp. Does anyone know of good resources (gems/engines/plugins/example code) that would help? this is not really an answer to your question, but I still can't add comments unfortunately, due to my reputation level, sorry :) There is exact equivalent of such functionality in Drupal(php) http://drupal.org/project/webform especially useful for contact forms, i.e. clients happy and don't bug me every time they want to adjust or even to add new inquiry form :) Would be nice to have such gem/plugin if any? :P Thanks. I don't

(html) wysiwyg editor for TEXT fields in phpmyadmin

北城余情 提交于 2019-12-04 06:00:48
问题 i'm making a small website and i need whoever takes over to add some content, stored in three tables which by sep '13 will have at most 500 records (small stuff). right now i'm using phpmyadmin, but adding text (one of the tables is a mini blog) requires basic html skills, which i'm sure "whoever takes over" doesn't have. do you know, alternatively: a) a way to integrate a wysiwyg editor with phpmyadmin (at least for the TEXT fields) b) an essential frontend to mysql which supports editing

Clean up ugly WYSIWYG HTML code? Python or *nix utility

梦想与她 提交于 2019-12-04 05:04:04
I'm finally upgrading ( rewriting ;) ) my first Django app, but I am migrating all the content. I foolishly gave users a full WYSIWYG editor for certain tasks, the HTML code produced is of course terribly ugly with more extra tags than content. Does anyone know of a library or external shell app I could use to clean up the code? I use tidy sometimes, but as far as I know that doesn't do what I'm asking. I want to simplify all the extra span and other garbage tags. I cleaned the most offensive offending styles with some regex, but I it would take a really long time to do anything more using