bulleted (or number) lists behaviour question

Last post 09-21-2005, 8:48 PM by mat41. 3 replies.
Sort Posts: Previous Next
  •  09-13-2005, 2:39 AM 10464

    bulleted (or number) lists behaviour question

    In my editor I had:
    editor.BreakElement= "br"
    This makes bulleted and numbered lists behave badly. EG if I had six lines of text (each time hitting return at the end) and I wanted to make one of the lines a bullet or a number all of the line had this style applied. 
    Q1..Why is this? 
    Q2..Is there any way to use a BR tag as the break element avoiding this behaviour?
     
    I Then came to the forum to post it as a question while testing the same process in your editor.  I could not replicate the behaviour.  After looking at your HTML I realized you guys use a DIV for the break element.
    Q3..How can I stop a BR behaving badly?
    Q4..Can you point me to an editor using a BR that behaves as it should?
     
    TYIA

    Wind is your friend
  •  09-21-2005, 12:27 AM 10830 in reply to 10464

    Re: bulleted (or number) lists behaviour question

    These questions seem very strait forward.  Have I not been clear enough?  What more do you need to know?
     
    TYIA

    Wind is your friend
  •  09-21-2005, 8:21 PM 10876 in reply to 10830

    Re: bulleted (or number) lists behaviour question

    This is not an online Eidtor issue. It's about HTML List Rules.
     
    First let's make a test.
     
    Type the following HTML code into the FrontPage (if you installed it on your machine):
     
    test<br/>
    test<br/>
    test<br/>
    test<br/>
    test<br/>
    test<br/>
    test<br/>
     
    Select the first line and click the order list.
     
    You will find out FrontPage has the same behavior as Cute Editor.
     
    The <br> tag is a special HTML element, not a Block-level element like <div>, <p>
     
    Like other editors, Cute Editor implements the IE MSHTML Editing Platform.
     
    One of the general rules for what happens when you click on a list toolbar button:
    For selected paragraphs that are not list items, make each paragraph a list item.
     
    I know it's a bit tricky when intervening <br> element. The users may want the editor automatically remove <br> elements; And also want the editor add a list item between each <br>...



    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

  •  09-21-2005, 8:48 PM 10882 in reply to 10876

    Re: bulleted (or number) lists behaviour question

    I write code in homesite and are strictly a hand coder.  I dont have FP DW or any of those other WSIWYG editors on my machine.
     
    Thankyou for addressing this issue.  We have a more important one at hane.  Please give me a contact for your upper level management aspa - The IE 5.5 thing is about to cause my company to loose a great deal of money, we need to speak to your business process people.
     
     
    TYIA

    Wind is your friend
View as RSS news feed in XML