Snippets
- Learn phpdocx in 5 minutes
- Tutorial
- API quick guide
- HTML to Word
- HTML Extended
- Conversion plugin
- Word to HTML
- DOCXPath
- Bulk processing
- DOCXCustomizer
- Digital signature
- Cryptophpdocx
- Right to left languages
- phpdocx CLI command
- Tracking
- Artificial Intelligence
- Blockchain for documents
- JavaScript API
- Compiled mode
Add a footnote and other block contents as inline contents using HTML Extended
To accomplish this task, the code can use a placeholder that is replaced with a new WordFragment or the data-type attribute set as 'inline'.
The same snippets can be used when working with HTML Extended and footnotes, comments and endnotes changing the tag name and its properties if needed.
Using a placeholder that is replaced with a new WordFragment:
Using the data-type="inline" attribute: