javascript iPad 兼容的 HTML 所见即所得编辑器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5023510/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-25 15:42:12  来源:igfitidea点击:

iPad compatible HTML Wysiwyg editor

javascripthtmlipadwysiwyg

提问by vassilis

Are there any iPad compatible wysiwyg HTML editors?

是否有任何兼容 iPad 的所见即所得 HTML 编辑器?

Edit:What I'm looking for is something that would work on a web app, not a native iPad app.

编辑:我正在寻找的是可以在网络应用程序上运行的东西,而不是本机 iPad 应用程序。

采纳答案by AlfonsoML

I think that the GDocs editor might work, but keep in mind that there's almost no editor like that, they are managing everything by themselves.

我认为 GDocs 编辑器可能有用,但请记住,几乎没有这样的编辑器,他们自己管理一切。

The rest of editors try to use contentEditable, and Apple itself warns against using it with the iPad: http://developer.apple.com/library/ios/technotes/tn2010/tn2262/#//apple_ref/doc/uid/DTS40009577-CH1-DontLinkElementID_7

其余编辑器尝试使用 contentEditable,Apple 本身警告不要在 iPad 上使用它:http: //developer.apple.com/library/ios/technotes/tn2010/tn2262/#//apple_ref/doc/uid/DTS40009577 -CH1-DontLinkElementID_7

回答by Abhishek

I would advise you to use NicEditorwhich has an option of using content editable divs rather than iframe(has some issues in ipad)

我建议您使用NicEditor,它可以选择使用内容可编辑的 div 而不是 iframe(在 ipad 中存在一些问题)

回答by Xavi Esteve

I was also looking for this too and couldn't find it so I coded it myself.

我也在寻找这个,但找不到,所以我自己编码。

iPad web based Code Editor (with extra symbols keyboard)

iPad 基于 web 的代码编辑器(带有额外的符号键盘)

It is a web-based code editor that allows you to type in all the symbols and characters used when programming (brackets, equal sign, tab, quotes...). It is currently in a very early stage so you will need to copy/paste the code, edit, copy/paste again somewhere else (Dropbox, FTP client).

它是一个基于 Web 的代码编辑器,允许您输入编程时使用的所有符号和字符(括号、等号、制表符、引号...)。它目前处于非常早期的阶段,因此您需要复制/粘贴代码、编辑、再次复制/粘贴到其他地方(Dropbox、FTP 客户端)。

You may also want to check out CodeAnywhere, they have a native app AND also a web-app.

您可能还想查看 CodeAnywhere,他们有一个本机应用程序和一个网络应用程序。

回答by Laurie Dickinson

I've experienced a similar issue in a web app I've developed that does not allow wysiwyg editing when run on an IPad/IPhone. The wysiwyg component I use is Telerik's RadEditor (a terrific product, btw), and Telerik has posted a KB page regarding this issue at http://www.telerik.com/support/kb/aspnet-ajax/editor/support-for-iphone-ipad-browser.aspx. It seems, at this point, that Apple has chosen to lock down Safari on the IPad/IPhone in such a way that these rich text editors do not work. I haven't yet seen an alternative solution to this (other than allowing IPad/IPhone users to enter their content in a plain ol' textbox) but am keeping my ear to the ground.

我在我开发的 Web 应用程序中遇到了类似的问题,该应用程序在 iPad/IPhone 上运行时不允许所见即所得编辑。我使用的所见即所得组件是 Telerik 的 RadEditor(一个了不起的产品,顺便说一句),Telerik 已在http://www.telerik.com/support/kb/aspnet-ajax/editor/support-for上发布了有关此问题的知识库页面-iphone-ipad-browser.aspx。在这一点上,Apple 似乎选择在 iPad/IPhone 上锁定 Safari,以使这些富文本编辑器不起作用。我还没有看到对此的替代解决方案(除了允许 iPad/IPhone 用户在普通文本框中输入他们的内容之外),但我一直在关注地面。

回答by nivas

I am sure there may be a few that exist. I have not had any experience with either but take a look at the below links:

我相信可能存在一些。我没有任何经验,但请查看以下链接:

iPad HTML Editor - http://itunes.apple.com/us/app/kytekhtmleditor/id349354394?mt=8
SquareSpace for iPad - http://mashable.com/2010/12/21/squarespace-ipad/

iPad HTML 编辑器 - http://itunes.apple.com/us/app/kytekhtmleditor/id349354394?mt=8
SquareSpace for iPad - http://mashable.com/2010/12/21/squarespace-ipad/

Check out the following Web (html) Wysiwyg Editors.:

查看以下 Web (html) 所见即所得编辑器。:

Dreamweaver
Flux (Mac only)
Creative Suite
Expression Web/Studio

Dreamweaver
Flux(仅限 Mac)
Creative Suite
Expression Web/Studio

There are a quite few available WYSIWYG editors and some are even free. However, 'free' is not always best as the code compilation may not be optimal and important features are lacking.

有很多可用的 WYSIWYG 编辑器,有些甚至是免费的。但是,“免费”并不总是最好的,因为代码编译可能不是最佳的,并且缺少重要的功能。

Hope that helps!

希望有帮助!

回答by Jordan

I don't know but think that what you are after is something to edit the code of a web app. If it is then since the web app is essentially a web page you could use any text editor, I personally like Gusto for the iPad- http://itunes.apple.com/us/app/gusto/id364906873?mt=8.

我不知道,但认为您所追求的是编辑网络应用程序的代码。如果是的话,因为网络应用程序本质上是一个网页,你可以使用任何文本编辑器,我个人喜欢 iPad 的 Gusto- http://itunes.apple.com/us/app/gusto/id364906873?mt=8

Either that or you are looking for a HTML editor which is a web app itself. In that case, sorry I don't know of any.

或者您正在寻找一个 HTML 编辑器,它本身就是一个网络应用程序。在那种情况下,对不起,我不知道任何。