Re: window.find deprecated?

2014-07-11 Thread Johan Sörlin
The 4.x version if TinyMCE released a year ago doesn't use the window.find
API anymore so it only affects older versions of TinyMCE. But it would be
nice if there where a built in API for searching in a document since doing
it manually by traversing DOM nodes takes a lot of code and the find
functionality exists in all browsers today so exposing that in a better way
than window.find would be nice.


On Wed, Jul 9, 2014 at 9:56 PM, Ben Peters ben.pet...@microsoft.com wrote:

 There was discussion a few years back in bugs for both Mozilla[1] and
 Webkit[2] that window.find() should be killed, but that it was used in
 TinyMCE (a broadly used js framework). Does anyone still use this API? Has
 anyone reached out to TinyMCE about this? Do we still believe it should be
 killed?

 Ben

 [1] https://bugzilla.mozilla.org/show_bug.cgi?id=672395
 [2] https://bugs.webkit.org/show_bug.cgi?id=64761





-- 
Johan Spocke Sörlin
Chief Technical Officer (CTO)
Moxiecode Systems AB c/o Norra Västerbotten
Kanalgatan 59, 931 32, Skellefteå, Sweden
Mobile Phone: +46 (0)735 35 77 01
Office Phone. +46 (0)910 397 30
http://www.moxiecode.com http://www.moxiecode.com/


window.find deprecated?

2014-07-09 Thread Ben Peters
There was discussion a few years back in bugs for both Mozilla[1] and Webkit[2] 
that window.find() should be killed, but that it was used in TinyMCE (a broadly 
used js framework). Does anyone still use this API? Has anyone reached out to 
TinyMCE about this? Do we still believe it should be killed?

Ben

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=672395
[2] https://bugs.webkit.org/show_bug.cgi?id=64761