【问题标题】:How to make webview content editable in android?如何使 webview 内容在 android 中可编辑?
【发布时间】:2014-10-22 09:50:35
【问题描述】:

我正在 webview 中显示一些信息。一旦用户单击显示的信息,我需要使内容可编辑。键盘也应该出现。 我试图通过为 webview 设置 contentEditable = true 来做到这一点。它适用于iOS,不确定如何在android中执行。 请建议是否可以这样做或任何其他方式来实现编辑信息? TIA

【问题讨论】:

    标签: android android-webview contenteditable


    【解决方案1】:
    <div contenteditable=\"true\"> testing < /div>
    

    contentEditable = true 也适用于 android。

    【讨论】:

      猜你喜欢
      • 2017-06-05
      • 1970-01-01
      • 2013-07-02
      • 2012-05-18
      • 1970-01-01
      • 2011-09-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多