diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1 @@ + diff --git a/src/docx/text/paragraph.py b/src/docx/text/paragraph.py index 234ea66cb..87aa5bdfd 100644 --- a/src/docx/text/paragraph.py +++ b/src/docx/text/paragraph.py @@ -171,3 +171,7 @@ def _insert_paragraph_before(self): """Return a newly created paragraph, inserted directly before this paragraph.""" p = self._p.add_p_before() return Paragraph(p, self._parent) + + @property + def element(self): + return self._element