diff --git a/core/src/text/paragraph.rs b/core/src/text/paragraph.rs index 9e17a65e..2b905dbc 100644 --- a/core/src/text/paragraph.rs +++ b/core/src/text/paragraph.rs @@ -143,4 +143,9 @@ impl Plain

{ pub fn raw(&self) -> &P { &self.raw } + + /// Returns the current content of the plain [`Paragraph`]. + pub fn content(&self) -> &str { + &self.content + } }