Questions tagged [designmode]
133 questions
2
votes
3 answers
IE designMode Showing display:none Divs
I've done a lot of research on this,but I'm unable to solve this problem. I've got a Div with several Divs within it that I want to hide before switching on a TinyMCE instance.
I'm doing this via jQuery -
$(".drop").hide()
This works fine, and…

knowncitizen
- 1,523
- 2
- 17
- 21
2
votes
1 answer
Alternatives to execCommand
I'm looking to create a WYSIWYG editor, using jQuery as a framework from which I can use different methods to ease production.
I do actually have a working editor at the moment, and it's working well. I use an iFrame, and set it's designMode to on…

GarethPrice
- 1,072
- 2
- 14
- 25
2
votes
2 answers
How to alternate moveStart in Firefox?
Does anybody know how to use range.setStart in the same way as range.moveStart works in IE? I'd like to implement backspace/delete in JS, something like this:
range.moveStart('character',-1);
range.deleteContents();
but in Firefox

Jaro
- 21
- 1
- 2
2
votes
4 answers
How to get custom drawn user controls to display in design mode?
If I have user control, in which I override the OnPaint() to display custom graphics. Why does this not show when viewing the control in the design mode of visual studio?
The user control will appear empty when viewed in design mode. However if the…

Michael Chaffey
- 21
- 2
2
votes
4 answers
Any WYSIWYGs that use contentEditable rather than an iframe?
I am looking for a list of WYSIWYG editors that use contentEditable rather than a designMode iframe.
The reason I want this is that I want to have a few regions (divs) on my site that users can edit, and I want the styling (fonts, font colors, etc).…

Chad Johnson
- 21,215
- 34
- 109
- 207
2
votes
1 answer
What happens to merged ResourceDictionaries in App.xaml in DesignMode?
I have a requirement to load and merge ResourceDictionaries in code at runtime according to certain configuration options. Merging the dictionaries in the Application.OnStartup method works fine of course, at runtime.
Visual studio's design mode…

mrahhal
- 3,322
- 1
- 22
- 41
2
votes
1 answer
JavaScript selectionchange-EventListener, triggering infinitely on document.execCommand
I have added an event listener for selectionchange as below,
document.addEventListener("selectionchange",
function()
{
highlight();
console.log("selectionchange-triggered");
}, false);
then I have added the below code, to highlight…
user4226071
2
votes
2 answers
firefox/IE designMode reference needed
I am looking for reference documentation for designMode in Firefox 2/3 and IE 6/7/8. Does anyone have links to good references?
Jon Bomgardner
2
votes
1 answer
Populate and save text from contenteditable
I am just about to start writing my own rich text editor but need to know if its possible to populate the text area and also how to save / use the data inside it.
I am currently using CKEditor, but its too clunky and large for what I want.
I'll be…

Lovelock
- 7,689
- 19
- 86
- 186
2
votes
1 answer
Set default to instead of
in 'designMode' On Iframe
in 'designMode' On Iframe
Greetings from a future caveman,
I'm trying to build a simple wysiwyg and unfortunately I cannot get it to use paragraph by default instead of a simple line break. Then I read this:
Force browser to insert
tag when pressing Enter in a…

Noodle Head
- 431
- 3
- 10
- 23
2
votes
2 answers
Enable design mode of an sln project in SharpDevelop
I've been given a folder with many .cs files and a .sln to work on with the express interest of designing a GUI for the entire project. The only problem is, I don't know how.
I have both Visual Studio 2010 and SharpDevelop 4.4 at my disposal; though…

jwarner112
- 1,492
- 2
- 14
- 29
2
votes
0 answers
Persist custom list property of datagridviewcolumn
I have a WinForm application with a customized DataGridViewColumn with 1 added property, a simple List. I can change it to whatever sort of collection will make it work, if needed. The problem I am having is that when I set the property in…

MassonJJ
- 21
- 4
2
votes
1 answer
Flash Builder 4.6 Design Mode Not Working?
I am working in Flash Builder 4.6 and I cannot get Flash Builder to display my application in design mode. I have not modified any Flash Builder configuration options, it just seems to have started on its own. Closing and opening the project, or…

Oliver Spryn
- 16,871
- 33
- 101
- 195
2
votes
1 answer
Changing class and style attributes inside a RTE (designMode on)
I'm working on customizing a Rich Text Editor inside my webapp, using CLEditor. For changing fonts and font sizes, I'd prefer to have a bit more fine-tuned control than the default execCommand, especially for font size, since as far as I can tell it…

Jeremy T
- 1,273
- 1
- 10
- 14
2
votes
0 answers
Caret postioning affected by glyphs usage in Internet explorer in designmode
I try to use internet explorer as Html editor in designmode from Delphi. I use the Mshtml and SHDocVw units and editing goes fine. I also display some glyphs like the 'special characters' option in Word (e.g. paragraph: ¶). Now there appears to be a…

bert4573
- 31
- 2