HTML embed plugin

Plugin for embedding HTML.

Plugin configuration

{
    "id": "io.infomaker.htmlembed",
    "name": "im-htmlembed",
    "url": "https://plugins.writer.infomaker.io/v1/infomaker/im-htmlembed/{PLUGIN_VERSION}/index.js",
    "style": "https://plugins.writer.infomaker.io/v1/infomaker/im-htmlembed/{PLUGIN_VERSION}/style.css",
    "mandatory": false,
    "enabled": true
}

No data configuration needed.

Output

The plugin adds an object to the idf (newsItem > contentSet > inlineXML > idf > group).

<object id="htmlembed-302418e2ed9fae687b72ed0ffeb7f604" type="x-im/htmlembed">
    <data>
        <text>
           <![CDATA[<script src="https://myurl.com/script.js">/script>]]>
        </text>
        <format>html</format>
    </data>
</object>