wysiwyg

WYSIWYG text editor in Java [closed]

你说的曾经没有我的故事 提交于 2019-11-27 06:16:19
I'd like to collect all WYSIWYG text editors for Java here. Some rules for entries: There must be a link to the project/product You must state whether it's open source or commercial Is it possible to extend the editor (add new features like a "violet centered sudoku")? Is that simple or complex? Does it come with lots of features (fancy character and paragraph styles with online spell checking for several languages in the same document) or just the basics (bold, italics, no underline)? List important dependencies (does it run on bare Java with Swing? SWT? MacOS?) Your personal opinion This

using wysiwyg Editor text with angular2

北慕城南 提交于 2019-11-27 05:48:27
问题 I'm trying to use wysiwyg in my project angular2 when I add my code in index.html page (on the root page, it works) but when I try to use it in a child view html it doesn't get the css or (and) javascript code to get my wysiwyg correctly <!doctype> <html> <head> <base href="/"> <title>Arkloud Adservio</title> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0"/> <!-- Load libraries --> <!-- IE required polyfills, in this exact order -

WYSIWYG HTML Editor Component for Delphi [closed]

我的未来我决定 提交于 2019-11-27 05:22:28
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I need to send Email from my Delphi application. What I need is a WYSIWYG editor that I can use in the application to create the body of the email in HTML. Any ideas? Thanks, Pieter. 回答1: We've used TRichView just recently to do HTML email functionality and found it quite adequate. We did evaluate WpTools and it

How does Optimizely & Visual Website Optimizer handle visual DOM editing?

…衆ロ難τιáo~ 提交于 2019-11-27 04:13:35
问题 Optimizely & Visual Website Optimizer are two cool sites that allow users to perform simple A/B Testing. One of the coolest things they do is visual DOM editing. You can visually manipulate a webpage and save the changes offline. The changes are then applied during a random visitor page view via a JS load. How do the visual editors work? 回答1: My name is Pete Koomen, and I'm one of the co-founders of Optimizely, so I can speak for how things work on our side. Let's say you want to create an

Removing unwanted newline characters when adding <p> in CKEditor

瘦欲@ 提交于 2019-11-27 00:47:38
问题 When loading content with a set of paragraphs in CKEditor, it replaces my <p> tags with <p> That means the editor converts this: <p>paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> into what ends up like this: <p> paragraph 1</p> <p> paragraph 2</p> <p> paragraph 3</p> How do I fix it so that CKEditor doesn't add the extra newline characters when it sees the paragraph tags? 回答1: Add this line to the ckeditor.js configuration file: n.setRules('p',{indent:false,breakAfterOpen:false});

javascript Rich Text Editors

瘦欲@ 提交于 2019-11-26 23:59:21
问题 There are several (very good) rich text web editors written in Javascript (eg FCKeditor, YUI Texteditor and many many others). However I couldn't find any tutorial on how to build such a component. Something that would explain both high-level considerations (architecture) and/or more details in low-level "critical" points (ie why do most of the editors out there use iFrame, how do you handle keyboard input like Ctrl-B, Ctrl-C when the text is selected and when it is not etc) My main

angular2 wysiwyg tinymce implementation and 2-way-binding

前提是你 提交于 2019-11-26 23:29:39
问题 Hi I'm trying to implement tinymce into an angular 2 component for a small forum to create a new thread. I want the content of the textarea (tinymce) be 2-way-binded to a variable inside the component. So far the submit button works but the keyup event doesn't. export class ForumNewThreadComponent implements OnInit{ constructor(){} ngOnInit():any { tinymce.init( { selector: ".tinyMCE", }) } text:string; submit(){ this.text = tinymce.activeEditor.getContent(); } getTinymceContent(){ this.text

Content Editable Text Editors

落爺英雄遲暮 提交于 2019-11-26 22:52:18
问题 I have tried out several HTML editors including TinyMCE, CKEditor and now NicEdit. NicEdit is good in one respect - it is very easy to customize. However, I have found that they all have a tendency to produce very poor HTML. Not necessarily so but because they don't do much to correctly interpret invalid user actions such as attempting to style something without first having made a selection. It is far too easy to end up with HTML that contains something like <span style='color:#ff0000'><span

JS: Get array of all selected nodes in contentEditable div

徘徊边缘 提交于 2019-11-26 22:30:13
Hi I've been working with contentEditable for a while now and I think I have a pretty good handle on it. One thing that's evading me is how to get an array of references to all nodes that are partially or fully within the user's selection. Anyone got an idea? Here's something to start from: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> function getSelectedNodes(){ var

TinyMce Allow all Html tag

折月煮酒 提交于 2019-11-26 20:07:44
问题 I'm using TinyMce and even though the danger of a script attack, I need to enable all html tags with the editor. Currently, I'm use like: valid_elements: "@[class],p[style],h3,h4,h5,h6,a[href|target],strong/b," + "div[align],br,table,tbody,thead,tr,td,ul,ol,li,img[src]" But always need to add something, I want to enable ALL HTML tags with all attributes. Is there such switch that Disables the HTML filtering? 回答1: You can set valid_elements : '*[*]', to allow all html tags. 回答2: To keep style