Open tconsta opened 9 months ago
Upstream issue (inline code): https://github.com/tinymce/tinymce/issues/6966
It looks like TinyMCE's search plugin skips whitespace and non-contenteditable elements: https://github.com/tinymce/tinymce/blob/751e35f1419a6a060ded397dda1b2945bacaa711/modules/tinymce/src/plugins/searchreplace/main/ts/core/TextCollect.ts#L48
It seems that code
is a whitespace
element.
Options for inline code:
whitespace_elements
option to mark code
as non-whitespace.span
) with a class name.Possible duplicate of https://github.com/laurent22/joplin/issues/8184
Operating system
macOS
Joplin version
2.13.9
Desktop version info
Joplin 2.13.9 (prod, darwin)
Client ID: 889dbc1460b245dfba2a21505e72936b Sync Version: 3 Profile Version: 44 Keychain Supported: Yes
Revision: 1bbec44
Note Tabs: 1.4.0
Current behaviour
Expected behaviour
Option "Find and replace" in WYSIWYG mode should search, among other things, in code blocks.
Logs
No response