Function files_in_str() in MediaManager
extracts media file names from a field text.
However, it’s marked as deprecated:
@deprecated_keywords(includeRemote="include_remote")
def files_in_str(
self, mid: NotetypeId, string: str, include_remote: bool = False
) -> list[str]:
Could you tell what’s the target replacement for it?
Or suggest a better approach to get files in a note.
Thanks!