跳转到内容

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

图片

error while updating a note with IMG tag

enml img unselectable

  • 请登录才能回复
这个主题有2篇回复

#1 josi

josi

  • 圆点图片
  • Title: Member
  • Group: Members
  • 6 篇 文章总计

发表于 20 June 2012 - 11:11 AM

hi,

while I'm trying to update a Note content from my app, I get this error:

ENML_VALIDATION: Attribute "unselectable" must be declared for element type "img".

although my IMG tag does have unselectable="on" attribute (and it's just an <img src="..">, not a resource..).

here is what my IMG tag looks like:

<img src="....." unselectable="on" style="">

and here is the full content I'm trying to upload:

http://pastie.org/4119874

any hints are welcome.

j

#2 Julien Boedec

Julien Boedec

  • Title: Browncoat
  • Group: Evernote Employee
  • 407 篇 文章总计

发表于 20 June 2012 - 04:13 PM

Removing the attribute unselectable should fix your problem and get the ENML accepted by the service.

#3 josi

josi

  • 圆点图片
  • Title: Member
  • Group: Members
  • 6 篇 文章总计

发表于 20 June 2012 - 04:25 PM

ah yes indeed this fixes it.

maybe it would be worth updating your error message so it does not say the contrary?

cheers,
j





也是相同的标签与enml, img, unselectable

目前浏览这个主题的用户:1 位

0 位会员, 1 位访客, 0 位匿名会员

Clip to Evernote