Forum


Replies: 1   Views: 216
Custom html tag embedded as span or p
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by Brck  · 08-04-2019 - 22:14

Hi, 

For certain purposes, we have a <item> tag. In some cases we wish to embed that to html with a style attribute or class attribute. When doing that for a <p> tag it works fine (for example <p style="font-size:18px">, but it does not seem to work for the <item> tag (the style attribute seems to be ignored).

Is this something that can be easily fixed? I.e. having the <item> tag behave as a <p> or <span> tag (we haven't yet decided which would be more suitable). Where in the source code should be start looking to copy/paste?

Using advance of phpdocx 8.5. Thanks.

Posted by admin  · 09-04-2019 - 06:27

Hello,

That feature is only available in Premium licenses and was added with the release of phpdocx 9: HTML Extended

Regards.