In https://en.wikipedia.org/w/index.php?title=American_Bank_Note_Company_Printing_Plant&oldid=945672756, when I edit the "Landmark status" section, the paragraph starting with "The announcement also cited..." is incorrectly included as part of the following quote template.
Description
Related Objects
Event Timeline
Syntax from the article for reference:
... Benika Morokuma, of the [[Municipal Art Society]] described the building in her testimony supporting the landmark designation:<ref name="mas.testimony"/>{{quote|The facade of the plant is a clear example ...}}
The {{quote}} template starts with a <templatestyles ...> tag. Because there is no newline before {{quote|... in the article, the tag is considered to belong to the paragraph preceding the quote. As a result, the entire paragraph is considered to be "template-affected", and not visually editable.
In this case VisualEditor only does what Parsoid tells us. Maybe Parsoid could be smarter about this situation, but I'm not sure if that is possible. (I feel like I saw previous reports of similar problems, but I can't find any duplicate tasks right now.)
Meanwhile, you can avoid the problem in the article by putting the {{quote|...}} template on a separate line.
We could possibly tweak the paragraph wrapping algorithm to be smarter about style tags that trail the paragraph and push it out of the paragraph. We had to add this logic for meta tags in the first place so, we may just have to treat templatestyle style tags similarly.