Search

You searched for the word(s):
< 1 second(s)
  • Re: Insert Text

    What a doofus I am! The answer is to use: &nbsp; window.opener.insert_content(window.opener.Editor1, 'Sample Text'); &nbsp; and not: &nbsp; window.opener.insert_content(window.opener.document.Editor1, 'Sample Text'); &nbsp; In other words, leave off the document. Sorry for the premature post. But maybe this will help someone ...
    Posted to Cute Editor for ASP (Forum) by Deech on August 26, 2004
  • Re: Insert Text

    Ok, I had that working within the same window, but if I open a new window, how do I access the Editor object within the parent window from the opened window? &nbsp; For example, I created a wrapper function for insertHTML where I pass Editor1 as the Editor object. My function is defined as follows (this is all Javascript, not ...
    Posted to Cute Editor for ASP (Forum) by Deech on August 26, 2004
  • Re: Insert Text

    Yes, that did the trick. Please let me know if I am using it incorrectly and will end up crashing the editor or something, lol!
    Posted to Cute Editor for ASP (Forum) by Deech on July 28, 2004
  • Re: Insert Text

    I think I may have found the answer. In WinIE.js there is a Javascript function used as follows: &nbsp; insertHTML(current.EditorID, html); &nbsp; where current is the editor object and html is the content to be inserted. I'll give that a whirl and see what happens. &nbsp;
    Posted to Cute Editor for ASP (Forum) by Deech on July 28, 2004
  • Re: Insert Text

    Thanks, Adam. &nbsp; Unfortunately the code snippet dropdown will only work for static inserts (that is, dynamic when the page is created, but not dynamic once the page is rendered). In other words, I need to have a button that the user presses that will open a new window, allow the user to type in some stuff, then perform the insert using the ...
    Posted to Cute Editor for ASP (Forum) by Deech on July 28, 2004
  • Insert Text

    If I wanted to&nbsp;make an exterior button that will insert some specific text at the current cursor location in the editor, what's the best way to accomplish that? I saw something about an ''innertext'' property, but I couldn't find it in the manual. I know you have custom buttons for the Editor coming in a future release, so for the time being, ...
    Posted to Cute Editor for ASP (Forum) by Deech on July 26, 2004
  • Re: Resize of Template Browser Dialog

    Thank you, Adam!
    Posted to Cute Editor for ASP (Forum) by Deech on July 26, 2004
  • Resize of Template Browser Dialog

    Greetings! &nbsp; I added several templates to the template directory and updated the XML file to reflect them. It works fine, but the template browser dialog is too small to show them all and even the ok/cancel buttons are off the dialog. I can manually resize the dialog window to get at them, but users of mine may not know that. Is there a way ...
    Posted to Cute Editor for ASP (Forum) by Deech on July 24, 2004
  • Re: Javascript Access to HTMLContent

    Thank you very much Adam! I look forward to checking out the new version! &nbsp; And thanks for that example. By reviewing the Javascript code in the child window, I was able to determine exactly what I needed. &nbsp; Thanks again!
    Posted to Cute Editor for ASP (Forum) by Deech on July 24, 2004
  • Javascript Access to HTMLContent

    Greetings! I have CuteEdit v1.6 for classic ASP (I am waiting to hear back about upgrading), and I wanted to add an export option for the user to save the content to their own computer. &nbsp; Basically I have a Javascript function that will do the trick to open up a new browser window with the content, where the user can then do a ''Save ...
    Posted to Cute Editor for ASP (Forum) by Deech on July 23, 2004