Firefox issues (Paste from Word/Cleanup, BreakElement)

Last post 12-29-2005, 11:33 PM by Adam. 17 replies.
Sort Posts: Previous Next
  •  10-13-2005, 7:19 PM 11718

    Firefox issues (Paste from Word/Cleanup, BreakElement)

    I bought the ASP component a couple of days ago after convincing a client who uses a Mac that this would be compatible.

    First of all it only works in Firefox on the Mac and not Safari (and to a lesser extent IE 5.2, but nothing works with that!) which is a shame. Secondly, as the above user has posted, the break element doens't work in Firefox as it always defaults to <br />. Thirdly, the paste from Word/clean HTML options do not even show in the toolbar (though the editor I am typing this thread into which appears to be the .NET version has the button).

    So far my client while impressed with the editor itself, finds his most common tasks (not have to use a PC, make correctly formatted content with paragraphs and pasting content directly from Word documents) don't work. I hate having to say "This is just another thing that only works in IE 6", as points 1, 2 and 10 on your Features and Benefits of the control aren't valid when not using that browser.

    Any ideas when/if there will be an update that resolves these issues?

  •  10-20-2005, 6:57 PM 11902 in reply to 11718

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    Could I get an answer to this please? Does anyone know if there is direct email support or are the forums our only avenue?
  •  10-28-2005, 7:15 PM 12109 in reply to 11902

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    Yes, I would also like to know what is happening with these issues as they are affecting my clients as well.

    The forums are often slow in giving answers especially if they are tricky ones or ones that do not have a positive answer. Could always try emailing support@cutesoft.net or adam@cutesoft.net

    Adam??? Can you please respond to this major issue?
  •  11-02-2005, 8:20 PM 12190 in reply to 12109

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    Adam??

    Also, any news when 5.0 will be ready for ASP?
  •  11-02-2005, 8:25 PM 12192 in reply to 12190

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    We are working hard on the CuteEditor for ASP version 5.0.
     
    We plan to release it in the end of this month.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  11-02-2005, 8:27 PM 12194 in reply to 12192

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    Fantastic!
    You're a champion.

    I just sent you a PM as well, so just ignore it (except for my other post on automating code-cleaner) :)

  •  11-15-2005, 12:14 AM 12657 in reply to 12194

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    Any news on how to automate the Code-Cleaner?

    Right after I paste in content from Word, I want it to automatically strip out word data, font & span tags.
    How can this be done?

    Thanks
  •  11-15-2005, 12:26 AM 12658 in reply to 12657

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    >>Right after I paste in content from Word, I want it to automatically strip out word data, font & span tags.

    editor.EditorOnPaste = "PasteWord"

     EditorOnPaste

    Specifies the manner in which the editor handles pasted text.

    Member Name Description
    Default When you paste text into the editor it is not processed.
    Disabled Paste function is disabed.
    PasteWord When you pasting the content from Word into the editor, the non-required code that usually comes with pasting from Word are automatically cleaned up.
    PasteText When you paste text into the editor, all HTML formatting is stripped. This option is ideal for content management systems where you want absolute control over the formatting
    ConfirmWord When you pasting the content from Word into the editor, will prompt users with a popup prompt to clean the non-required code.

    Example:

     

                   editor.EditorOnPaste = "ConfirmWord" 

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  11-18-2005, 9:28 PM 12817 in reply to 12658

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    Ahhh I didnt know that was possible. At least removing Word content is possible.

    Is there a way to also remove just FONT & SPAN tags? I dont want to remove all HTML tags (as bold & italic tags are wanted), just the FONT tags mainly.

    At the moment, it appears you can only remove Word stuff or Everything. There is no option to remove FONT tags automatically, without keeping the rest of the HTML.

    How can I do this, as so far, the above does not offer a solution to our issue.
    We still have to click the Code-Cleaner icon, and click on the 3 buttons for every article we create.

    Thanks

  •  11-20-2005, 10:19 PM 12830 in reply to 12817

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    ReqMan,
     
    Yeah, there is no option which remove FONT tags automatically. The users need to use the clean dialog to remove the font tags.
     
    We will add this option in the version 5.0.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  11-22-2005, 6:28 PM 12892 in reply to 11718

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    Sticking my two cents worth in, the <br/> is a newer form of <br>, where by XHTML standard all tags must be complete. That is
     
    <br> = <br></br>    
    Note: The close tag </br> or <br /> is forbidden under HTML 4.01 some browsers do not render XHTML unless it is so stated that it is an XML Document, or that is what I have found.
     
    or
     
    <td/> = <td></td>
     
    The trailing slash closed the tag and show the tag is empty. This is per http://www.w3.org/TR/xhtml1/
     
     
     
    There probably should be a property or two regarding formating like:
     
    editor.FormatXML=true where true uses XHTML and false uses HTML
    editor.FormatVerbose = true where true add CR LF (or space) after a tag and false is the current way. Editing the HTML currently is painfull. In the example below, if you try and select the <div> tag, you actually will get the <div><
     
     
    When I use Italic from the menu I expect <i>dd</i> not <em>dd</em>
    When I use Bold from the menu I expect <b>dd</b> not <strong>dd</strong>

    RC
     
  •  11-22-2005, 9:02 PM 12897 in reply to 12892

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    yes I agree with RC.

    can we somehow split between XHTML and normal HTML content?

    And I would also like to see <I> not <em>.

    Or are we able to change these things ourselves by editing the source? (unless the source is too complex).


    Also, what is the ETA for ASP v.5.0??  I have several clients waiting for the upgrade.

    Thanks

  •  11-22-2005, 9:11 PM 12899 in reply to 12897

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    >>can we somehow split between XHTML and normal HTML content?
     We are working on this.

    >>And I would also like to see <I> not <em>.

    We will add a new property in the next version.

    Editor.UsePhysicalFormattingTags Property

    These are two types of text formatting tags -- logical formatting tags ( <strong> and <em> ), which describe the information in the element, and physical formatting tags (<b> and <i>), which specify its appearance. By default CuteEditor use the logical formatting tags ( <strong> and <em> ). If you want to use the physical tags (<b> and <i>), you can set this property to true.

    >>Or are we able to change these things ourselves

    Yes, you need to use Regular expressions:

    For example:

       h = h.replace(/<STRONG([ \>])/gi,'<b$1');
       h = h.replace(/<\/STRONG>/gi,'<\/b>');
       h = h.replace(/<EM([ \>])/gi,'<i$1');
       h = h.replace(/<\/EM>/gi,'<\/i>');



     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  11-22-2005, 11:16 PM 12902 in reply to 12899

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    Well Phrase vs. Font elements

    Phrase Elements
    abbr, acronym, em, strong, dfn, code, samp, kbd, var, dfn. ins and cite
     
    Font Style Elements
    tt, i, b, big, s, u and small

    Phrase elements allow to apply meaning to the text, more of a structure. The bottom line is that when we look at a button with a 'B' I expect <b>.
  •  11-24-2005, 7:05 AM 12978 in reply to 12902

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    Adam, is there anyway I can permantly change <em> to <i> and <strong> to <b>.
    I'd rather not have to add another "replace" script to alter what has been already put in the content.

    Can you just point us to the asp page & location where we can change the code manually? This way, we can get the correct content until the new version comes out.


    Also, whats the ETA on the new version?
    I really need to fix the auto-code-cleaner (removing <font> tags), as well as these other issues.

    Thanks
  •  11-28-2005, 6:56 PM 13162 in reply to 12978

    Re: Firefox issues (Paste from Word/Cleanup, BreakElement)

    Another thought on the <br> vs <br />, the editor should be able to be "skinned" with the DOCTYPE of the page. That is, like we can change theme or the "skin" of the editor, we should be able to change the target DOCTYPE and the code produced by the editor compliant with that DOCTYPE. I would suggest that it do no earlier than DOCTYPE DTD HTML 4.0 Transitional.

    W3C recognizes HTML 4.01, XHTML 1.0 (Strict, Transitional and Frameset), and possibly XHTML 1.1

    This also brings up the issue does CuteEdit edit “true” XML and if so does it allow the usage of XSL to render that XML document. One step farther, could it be extended to preview the XML Document with multiple XLS’s? I think I will stop now because I am sure that if one of the software developers at CuteSoft reads this they are going to need a roll of Tums.\
     
    RC
  •  11-30-2005, 9:39 AM 13211 in reply to 13162

    Firefox 1.5 Issue with losing focus

    Ever since release candidate 1 for the newest Firefox I've had issues with Cute Editor for ASP. If there is no content in the editor you cannot click on the editor and get a cursor prompt. My workaround is to just put "&nbps;" in if there is no content, but even then the user can only click in the upper left corner of the editor (where the no break space is located at) to get focus on the editor. In addition, if the user deletes all the content in the editor, clicks outside the editor, there is no way to regain focus in the editor. I haven't noticed this with other editors, including the Cute Editor for .net (which I am assuming is what I'm using now :)

    Also: any word on 5.0?

    Thanks.
  •  12-29-2005, 11:33 PM 14272 in reply to 13211

    Re: Firefox 1.5 Issue with losing focus

    Version 5.0 is available!
     
    Demo:
     
    http://cutesoft.net/asp/EnableAll.asp

    To resolve the HTML/XHTML issue., we intruduced a new property in the version 5.0, Editor.XHTMLOutput Property.

    When this property is set to true, the CuteEditor HTML content will be retrieved in XHTML format.

     


    Example Code

          <%
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'Retrieves the CuteEditor HTML content in XHTML format.
               editor.XHTMLOutput = true
               editor.Text = "Hello World"
               editor.Draw()
          %>


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML