Re: new html editor

From: Mike Schrag (mschra..dimension.com)
Date: Wed May 09 2007 - 12:44:34 EDT

  • Next message: Gavin Eadie: "Re: new html editor"

    > I don't really like them because the show up the in the HTML of the
    > page itself after the WO parser has done its work and if the
    > components adds additional parameters to its html. I know that I
    > don't have to use them, but it encourages the use instead of
    > encouraging building correct templates.
    I actually didn't realize this ... that idea is out then. that's lame.

    > As I said: I'm pretty happy that the new HTML editor shows me
    > defect structures in my components and I solve these problems.
    > Okay, I tried for about 20 minutes to solve an non-existing problem
    > in a more complex component until I realized that it is a bug in
    > HTML editor and not in my component ... ;-) An update fixed this.
    I agree ... And believe me, I spent a lot of quality time looking for
    "buggy" html before I committed the editor when the validation was
    WAY worse, so I feel your pain :)

    >> I added support for the bullshit invalid unquoted name=Whatever
    >> webobject attributes that WOBuilder (used to? still does? who
    >> knows ...) generates.
    >
    > Btw generating ugly tags ... is there a reason that the buttons in
    > the new HTML editor generate
    >
    > <WEBOBJECT NAME="ComponentName"></WEBOBJECT>
    >
    > and not
    >
    > <webobject name="ComponentName"></webobject>
    Andrew has sent me a patch that includes this, because I said the
    same thing. I think this is ultimately a style preference as well,
    but I use lowercase, so since I commit the patches, I win :)

    > ? To make it even more realistic they should generate "weobject" at
    > a random interval, just to have the normal fun in component
    > building ...
    There are a couple of new buttons that will be rolling into town when
    I commit some additions I was working on. One is like a surround-
    with-arbitrary-component and another is surround-with-arbitrary-tag,
    so you can highlight a block and put a "div" around it basically.
    The other change coming in is that surrounding with a tag will put
    the tags at the right indent level and will indent the contents in a
    tab. This last part is why I haven't committed yet ... There are
    some funky border cases to this that are confusing it right now.

    ms



    This archive was generated by hypermail 2.0.0 : Wed May 09 2007 - 12:44:56 EDT