Hi all,

Keep doing standalone editor based on wave editor.
Have a problem with source code of editor's text, sample output is:

<doc>
  <body>
    <line/>
    <l:p>
      <text>text</text>
    </l:p>
    <line/>
    <l:p>
      <text>bo</text>
      <l:s fontWeight='bold'>
        <text>l</text>
      </l:s>
      <l:s fontWeight='bold' fontStyle='italic'>
        <text>d</text>
      </l:s>
    </l:p>
    <line t='h3'/>
    <l:p t='h3'>
      <text>headlin</text><text>e</text>
    </l:p>
    <line/>
    <l:p>
      <l:s fontFamily='tahoma,sans-serif'>
        <text>text</text>
      </l:s>
    </l:p>
  </body>
</doc>

Tags like "l:p", "l:s" etc are too difficult for potential users (they
expect something like plain html).
Is in this some hidden logic, or I can just replace names in Pretty<N>
and parse class?


Anton Startsev
______________________________________________________________________
[email protected] | www.artlebedev.com

Reply via email to