wysiwyg

WYSIWYG web scraping/crawling setup using Javascript/html5?

Hi folks, My goal is to allow less experienced people to setup the required parameters needed to scrape some information from a website. The idea is that a user enters an URL, after which this URL is loaded in a frame. The user should then be able to select text within this frame, which should give me enough information to scrape this ...

Javascript: get html around user selection?

It is possible to get whatever the user has selected with the mouse using Javascript, like this: http://www.motyar.info/2010/02/get-user-selected-text-with-jquery-and.html My issue is that I do not just need this text, but I also need: to get the html surrounding this text (eg. if the user selects "hello" and this hello is in the sour...

jQuery start typing between tags

I am making a WYSIWYG editor, what I want to do is preventDefault on the enter key, and instead, when enter is pressed, it creates a new line, with tags <div></div>. So essentially each <div> is one line. I don't know how to create the <div> and have the pointer start between each <div> like this: <div>Line one here</div> // Press enter...

How to make Google Chrome to stop automatically modify contenteditable elements HTML source ?

Hello, I am using contenteditable attribute for a purpose of my own WYSIWYG editor. Most of the problems I solved myself, however one I can't figure out. Contenteditable is acting little weird, because my editor generates XHTML code and as soon as I insert this code in contenteditable element, it modifies it to non-XHTML code, e.g.: <h...

WYSIWYG Editor without IFRAME

is there any WYSIWYG HTML Editor which works without IFRAME ? ...

WYSIWYG - jQuery plugin - insertHTML not working in IE8

I'm using Jquery WYSIWYG plugin and have problems with 'insertHTML' and IE in code I have $('#editor').wysiwyg('insertHtml', '<h1>I'm title</h1>'); In Firefox html code is added on cursor position, but in IE at the beginning of whole text. I's Googling for solution, but nothing found :( Thank you for any advice to solving that. ...

WYSIWYG development bug with formatBlock in Mozilla

Hello, I'am currently developing a WYSIWYG editor for my CMS and got serious bugs here. After switching from IFRAME to DIV contenteditable the behavior changed dramatically. Using execCommand('formatBlock') to create headlines causes unwanted BR tags to the source code, but only in Mozilla. I thought the reason could be < br _moz_dirty...

Wordpress-like configuration for TinyMCE in Drupal

I am using Drupal's WYSIWYG module, and i have added the latest TinyMCE and have configured it succesfully. Now I would like it to display its buttons and toolbars precisely the way Wordpress displays them. How should I proceed from now? ...

Best Free available wysiwyg html editor

Hi Guys, I want to use one free wysiwyg html editor in one of the website I am developing. It's commercial website which I am developing for a company. Could you please suggest me from your experience the best free available wysiwyg HTML editor for web. FYI - Website is build with ASP.Net 4.0, C#.Net Thanks, Happy Coder ...

tinyMCE - Can you configure an editor height below 100px?

Hi, I am not all that familiar with TinyMCE, but I cannot seem to configure it with a height below 100px. I've tried and it seems to always set it as 100px any time it goes below. I only need a few of the buttons and the editor window will likely never go beyond one line, so I am trying to reduce a bit of interface clutter. ...

Customize TinyMCE using Drupal's WYSIWYG module

Hi there, I am looking to create a custom button on the TinyMCE toolbar that wraps the currently selected content in a div with a class. I am using drupal 6.19 with wysiwyg-dev and TinyMCE 3.3.9.2. Sample text: <h3>Heading</h3> <p>Sample text</p> <ul> <li>item 1</li> <li>item 2</li> </ul> <p>more text</p> Sample text that has ...

What generic, flexible user interfaces are there which can relate to a variety of backends?

What I'm looking for is a type of user interface that has various generic elements which can be edited and arranged in a WYSIWYG manner by the user. Various backend models can be plugged in, and the user can then edit layouts of buttons, sliders, textual or graphic display elements, etc., and hook them up to control and display aspects ...

Removing external styles from jQuery WYSIWYG editor in PHP

I have an issue with my WYSIWYG editor. If users copy in outside text, this is seen as something like the following: " p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Lucida Grande'; min-height: 13.0px} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Lucida Grande'} Only the variables assigned in the last loop are a...