wysiwyg

RichTextBox (.NET Winforms) problem (or alternative)

孤人 提交于 2019-12-05 11:04:41
I have a problem with .Net's RichTextBox control. It seems that it doesn't support table cell formatting, which is funny because most of the time I create tables I want the cell contents to be right-aligned (numbers, currency). If I try to open a WordPad document in RichTextBox, it ignores (and actually removes ) the commands for cell alignment. I tried several workarounds but didn't succeed. Can anyone think of an idea to fix this? (without using fixed-width fonts and spaces) This would be the best solution since other code is working fine already, so if only thing needed is a dirty hack, it

Delphi - How do I make a WYSIWYG HTML editor using Delphi? [closed]

做~自己de王妃 提交于 2019-12-05 10:11:48
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center . Closed 7 years ago . HOW do I make an 'easy' to use WYSIWYG interface to make HTML files? I.E. A HTML Editor. Specifically to create formatted email messages, with images, hyperlinks, Font formatting, bullets, indenting, etc... Note [jd]: this is a self-answered question intended to be a pointer for others. Darren EmbeddedWB Web

JavaFX HTMLEditor - Insert image function

吃可爱长大的小学妹 提交于 2019-12-05 09:50:24
I'm using JavaFX integrated HTMLEditor. All the functions that it has are fine but I need to have also the function of inserting an image inside the HTML text. Do you know some source which I could use? Or some other HTML (WYSIWYG) editor that could be used inside JavaFX and it has this functionality ? I can program this functionality into the existing JavaFX HTMLEditor by myself, but I prefer to ask before I start doing something :) Thank you very much for your answers ;) I'd advise just customizing the existing JavaFX HTMLEditor, if it does most things you need with the exception of adding

Can't sendKeys() to TinyMCE with Selenium WebDriver

拈花ヽ惹草 提交于 2019-12-05 09:23:15
I am using Selenium WebDriver in Eclipse and I am trying to insert text into a tinymce box on a web page. This is the code I am using. //find tinymce iframe editorFrame = driver.findElement(By.cssSelector(".col_right iframe")); //switch to iframe driver.switchTo().frame(editorFrame); driver.findElement(By.className("mceContentBody")).sendKeys("YOOOO"); driver.switchTo().defaultContent(); The cursor is blinking inside of the editor, however no text is sent. I have also tried this slight variation without any luck. //find tinymce iframe editorFrame = driver.findElement(By.cssSelector(".col_right

Remove htmlPreview in CKEditor's image plugin

青春壹個敷衍的年華 提交于 2019-12-05 08:51:38
I have a problem with hiding preview element in CKEditor's image plugin. I need a very simple image dialog box with only input field for image source and form with button for image uploading. So I removed unnecessary elements using these custom configuration settings: CKEDITOR.on( 'dialogDefinition', function( ev ) { var dialogName = ev.data.name; var dialogDefinition = ev.data.definition; if ( dialogName == 'image' ){ dialogDefinition.removeContents( 'advanced' ); dialogDefinition.removeContents( 'Link' ); var infoTab = dialogDefinition.getContents( 'info' ); infoTab.remove( 'ratioLock' );

How to disable Aloha Editor toolbar?

橙三吉。 提交于 2019-12-05 07:56:59
Is there a way to disable Aloha's ExtJS toolbar in the same way as sidebar? Aloha.settings = modules: ['aloha', 'aloha/jquery'] editables: '.editable' jQuery: $ sidebar: disabled: true toolbar: disabled: true # does not work Mark element with class <div class="editable notoolbar"></div> Use event: Aloha.ready(function () { var $ = Aloha.jQuery; Aloha.bind('aloha-editable-activated', function () { if ($(Aloha.activeEditable.obj[0]).hasClass("notoolbar")) { $(".aloha-toolbar").hide(); } }); }); You can just hide it with css such as: div.aloha-toolbar { display: none !important; } There is no

What's a good WYSIWYG editor to use with ContentEditable? [closed]

落爺英雄遲暮 提交于 2019-12-05 06:20:14
I'm trying to build something similar to Google Docs, where you can edit a page directly and not through a textarea or iframe. This is possible with the contentEditable HTML5 attribute. So are there any good editors that I could use on top of contentEditable, to provide features like text formatting, inserting links, pasting from word, etc.? http://www.aloha-editor.org/ is one that I've found, but I was wondering if there are more. (edit: I should clarify that I'm not trying to build the whole Google Docs, I just used that as an example of editing the actual content) Version 2.0 of WYMeditor

jQuery Trigger keyCode Ctrl+Shift+z & Ctrl+z in wysiwyg textarea

耗尽温柔 提交于 2019-12-05 04:53:33
i was wondering how do i trigger the event keyCode composed by Ctrl+z and the event keycode composed by Ctrl+Shift+z ? If you want to trigger the event then it should be something like this: HTML <!DOCTYPE html> <html> <head> </head> <body> <input type=button value=CTRL+SHIFT+Z id=bcsz /> <input type=button value=CTRL+Z id=bcz /> <textarea id=t ></textarea> </body> </html> JavaScript var t = document.getElementById('t'), //textarea bcsz = document.getElementById('bcsz'), //button ctrl shift z bsz = document.getElementById('bcz'), // button ctrl z csz = document.createEvent('KeyboardEvents'), /

How can I use stackedit's markdown editor in my application

北战南征 提交于 2019-12-05 00:18:28
I am looking for a way to integrate stackedit's markdown editor into my own project and I can not find a way to do this. I looked into stackedit's github page and I am stuck. I see how can I edit nicely already precreated document, but I want to integrate it in the similar way how can I add tinyMCE or any other editor. Is it possible to do so? StackEdit is not embeddable. PageDown is. See https://github.com/benweet/stackedit/issues/150 And eventually https://github.com/jmcmanus/pagedown-extra/issues/27 来源: https://stackoverflow.com/questions/23051541/how-can-i-use-stackedits-markdown-editor-in

Is there a cross-browser jQuery contentEditable library? [closed]

大城市里の小女人 提交于 2019-12-04 19:33:10
问题 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 6 years ago . I'm looking for a jQuery plugin / library that makes the contentEditable attribute work properly in all major browsers (I could even go without IE6). I don't need a full WYSIWYG editor solution because I want to build my own – however I'm focusing on user experience so I'd prefer a "plug and play" solution. I