feat(nui): allow batch-adding multiple paragraphs to HTMLDocument
@@ -40,6 +40,10 @@ public void addParagraph(ParagraphData paragraphData) {
paragraphs.add(paragraphData);
}
+ public void addParagraphs(Collection<? extends ParagraphData> paragraphData) {
+ paragraphs.addAll(paragraphData);
+ }
+
@Override
public Collection<ParagraphData> getParagraphs() {
return paragraphs;
