English 中文(简体)
如何可靠地为世界青年协会的编辑使用四版内容?
原标题:How reliable is using contenteditable on a div for a WYSIWYG editor?

我认为,标题完全不言而喻,但也许我应该详细提出。 I m Building a WYSIWYG Editor and I m really at thestart of it. 因此,我认识到,也许知道这些利弊会给我带来启迪。 从根本上说,我的问题是,因为我希望一个编辑在所有主要浏览器中至少工作90%,我如何在四肢内使用内容,与设计Mode和iframe相比,使用内容是什么样的组合和利弊? 此外,在研究I ve时,发现,该编辑。 我认为,它不使用任何这些属性,而是转移了案文的位置。 这种做法是否更好? 我知道,有许多因素影响对最后一个问题的答复,但正如我提到的那样,我在编辑中研究的最重要事情是,90%的用户能够使用这一工具。 NB:我不想使用任何第三方图书馆。

最佳回答
问题回答

www.un.org/Depts/DGACM/index_spanish.htm 在电离层电离层中,没有工作:

<p>
  <img style="float:left" src="foo">
  <p contentEditable="true">very long text here ...
    ... this text won t flow round the image</p>
</p>

This is because contentEditable triggers the infamous hasLayout. Other than that, everything works pretty well.

<设计书>设计书和<编码>contentEditable属性,以及驱动精彩文本编辑的标本,已在所有主要浏览器实施,包括航天新一代人、歌星、谷歌 Chrome和当然是因特网探索者。

Mark Finkle写道:“http://starkravingfinkle.org/blog/2007/02/xul-cfallings-midas-rich-text-editor/“rel=“nofollow”>设计高级摘要:Mode,后加





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签