nextcloud / files_texteditor

:page_facing_up: Text editor for plaintext files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

texteditor CTRL+F search not working since 16.x

yoru74 opened this issue · comments

Up to 15.x, it was possible to open the search dialog box with CTRL+F.
In 16.x and 17.x it does not work. Tracing the session with Firefox console we get :

Content Security Policy: The page’s settings blocked the loading of a resource at https://cloud.whitehatmail.fr/index.php/apps/files/ext-searchbox.js (“script-src”).

It seems to be a ACE packaging problem. Without being an expert, it looks like the 'ace/ext/searchbox' module is missing, and js/ImportAce.js fails. The references are in build/ace.bundle.js.

I couldn't find though the reference to ext-searchbox.js ...

Any help is welcome, this feature is very useful.

I think you have the same issue as #184

Yep, closing this as duplicate of #184 :)