i think i've found the cullprit: it does not play well with the
jscrollpane plugin. If i remove jscrollpane, then it does not double
the tag.
That's weird because on my page, jscrollpane doesn't touch the textarea.
i'll set up a test page to show it later today.... maybe you'll be
able to find a fix ?
On Mon, Mar 24, 2008 at 5:51 PM, Alexandre Plennevaux
<[EMAIL PROTECTED]> wrote:
> hi Jay,
>
> i'm trying to use markitup but it seems it embeds the markup twice:
>
>
> the starting html:
>
> <fieldset>
> <ol>
> <li class="clearfix">
> <label for="description">Short Description:</label>
> <textarea name="description" class="markItUp" id="description"
> style="float:none;display:block;width:100%;margin:auto;padding:0"></textarea>
> </li>
> </ol>
> </fieldset>
>
>
>
> the generated source:
>
> <fieldset>
> <ol>
> <li class="clearfix">
> <label for="description">Short Description:</label>
> <span class=""><div id="description" class="markItUp"><div
> class="markItUpContainer"><div class="markItUpHeader"><ul><li
> class="markItUpButton markItUpButton1"><a href="#" accesskey=""
> title="undefined"></a></li></ul></div><span class=""><div id=""
> class="markItUp"><div class="markItUpContainer"><div
> class="markItUpHeader"><ul><li class="markItUpButton
> markItUpButton1"><a href="#" accesskey=""
> title="undefined"></a></li></ul></div><textarea name="description"
> class="markItUp markItUpEditor" id="" style="margin: auto; padding:
> 0pt; float: none; display: block; width: 100%; height:
> 171px;"></textarea><div class="markItUpFooter"><div
> class="markItUpResizeHandle"></div></div></div></div></span><div
> class="markItUpFooter"><div
> class="markItUpResizeHandle"></div></div></div></div></span>
> </li>
>
> </ol>
> </fieldset>
>
>
>
> The call to the function is a simple
>
> $("textarea.markItUp").markItUp();
>
>
>
> Am i doing something wrong?
>
>
>
>
>
> On Mon, Mar 24, 2008 at 2:59 PM, Jay Salvat <[EMAIL PROTECTED]> wrote:
> >
> > Wiki page is fixed, thanks.
> >
> > Insertion of element even if Cancel button has been clicked will be
> > fixed in the next release.
> >
> > Thanks for your feedbacks and Diggs.
> > Jay.
> >
>
>
>
>
>
> --
> Alexandre Plennevaux
> LAb[au]
>
> http://www.lab-au.com
>
--
Alexandre Plennevaux
LAb[au]
http://www.lab-au.com