I don't manage to correctly set a specific word style on a inline element (a <span> in my case).
Here is an extract from my code :
$docx = new CreateDocx($myTemplate);
$content = '<p><span class="marker">test</span></p>';
$wordStyles = array(
'.marker' => 'Highlight'
'strictWordStyles' => true,
'wordStyles' => $wordStyles,
The "Highlight" style is defined in my template (it's a character style), but it is not applied by PHPDocx on my "test" content.
Do you know how to achieve that ?