Word.API body.search() does not match paragraphs with footnote or endnote #4401
Labels
Area: Word
Issue related to Word add-ins
Needs: attention 👋
Waiting on Microsoft to provide feedback
Provide required information needed to triage your issue
If a paragraph in MS Word contains a footnote or endnote and I try to search for the entire paragraph with
context.document.body.search()
, the result is empty.Your Environment
Expected behavior
The entire paragraph should be matched when I search for the text.
Current behavior
No results available if I search for a part of the paragraph when there is a footnote or endnote in between.
Steps to reproduce
Video provides a powerful way to help you prove your point.
)context.document.body.search("Video provides a powerful 1way to help you prove your point.")
Link to live example(s)
Snippets for Script Lab
Script
HTML
CSS
Libraries
The text was updated successfully, but these errors were encountered: