X
Nhấn vào đây để đến phiên bản di động của trang web.

Diễn đàn trợ giúp

Is there a date yet for the actual deprecacy of the execCommand() javascript command?

Được đăng

Hi there, I have this notetaking web application, that relies heavily on the execCommand, because it's practical and behaves as users are used to from other programs for text manipulation. MDN article says it's deprecated (https://developer.mozilla.org/en-US/docs/Web/API/document/execCommand) but my question is, how much should i worry about it not being supported in firefox anytime soon? If it would actually got unspported, I'd have to re-code all the functionality with a lot of hacks on my own, so I'd like to know it in advance, if possible. Thanks very much in advance & understand if you cannot tell me the answer

Hi there, I have this notetaking web application, that relies heavily on the execCommand, because it's practical and behaves as users are used to from other programs for text manipulation. MDN article says it's deprecated (https://developer.mozilla.org/en-US/docs/Web/API/document/execCommand) but my question is, how much should i worry about it not being supported in firefox anytime soon? If it would actually got unspported, I'd have to re-code all the functionality with a lot of hacks on my own, so I'd like to know it in advance, if possible. Thanks very much in advance & understand if you cannot tell me the answer
Trích dẫn

Chi tiết hệ thống bổ sung

Ứng dụng

  • Chuỗi đại diện người dùng: Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0

Thông tin chi tiết

Roland Tanglao
  • Administrator
77 giải pháp 848 câu trả lời
Được đăng

Hi Adam Rajnoha:

This is a developer question and this forum is focused on user questions. Please ask your question on stack overflow (as the MDN site recommends) and tag it 'firefox' https://stackoverflow.com/questions/tagged/firefox Cheers! ...Roland

Hi Adam Rajnoha: This is a developer question and this forum is focused on user questions. Please ask your question on stack overflow (as the MDN site recommends) and tag it 'firefox' https://stackoverflow.com/questions/tagged/firefox Cheers! ...Roland

Được chỉnh sửa bởi Roland Tanglao vào

Bài viết này có hữu ích với bạn không?
Trích dẫn
jscher2000
  • Top 10 Contributor
8957 giải pháp 73394 câu trả lời
Được đăng

Hi Adam, there are a lot of bugs on file mentioning execCommand() but I don't see one getting rid of it.

Perhaps that's because no one wants to go first (between Apple, Google, Microsoft and Mozilla) considering the possibility of widespread website and add-on breakage.

Should that eventually occur, I imagine someone will provide a JavaScript library to polyfill the missing functions, at least to the best of their ability, to tide you over to a rewrite.

Until that day, I guess maybe set a quarterly task to check the following mailing list where these kinds of major changes are often announced:

https://groups.google.com/forum/#!searchin/mozilla.dev.platform/execcommand%7Csort:date

Hi Adam, there are a lot of bugs on file mentioning execCommand() but I don't see one getting rid of it. Perhaps that's because no one wants to go first (between Apple, Google, Microsoft and Mozilla) considering the possibility of widespread website and add-on breakage. Should that eventually occur, I imagine someone will provide a JavaScript library to polyfill the missing functions, at least to the best of their ability, to tide you over to a rewrite. Until that day, I guess maybe set a quarterly task to check the following mailing list where these kinds of major changes are often announced: https://groups.google.com/forum/#!searchin/mozilla.dev.platform/execcommand%7Csort:date
Bài viết này có hữu ích với bạn không?
Trích dẫn
Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.