Writer Plugins 7.0.0

Compatibility

  • Writer >=4.0.0

Released 2018-02-20

Upgrade notes

WPLUG-207 Table plugin

forcePlaintextPaste in writer client config must be set to false to enable pasting tables from external sources.

To be able to copy and paste tables within the writer, Writer version 3.12.1 is required.

WPLUG-174 Contentrelations: Extend search and filter capabilities

New version of contentrelations plugin

  • This plugin requires writer > 3.13.0 and depends on the writer.UIPagination class.
  • This plugin now requires a contentHost (editorial ba-proxy) which is used for Open Content search requests

Configuration example (for more info see readme file):

{
    "id": "se.infomaker.contentrelations",
    "name": "contentrelations",
    "url": "https://plugins.writer.infomaker.io/releases/x.x.x/im-contentrelations.js",
    "style": "https://plugins.writer.infomaker.io/releases/x.x.x/im-contentrelations.css",
    "enabled": true,
    "mandatory": false,
    "data": {
        "npDropLinkMatcher": "http://127.0.0.1:8080/opencontent[^\\s]+",
        "contentHost": {
            "protocol": "https://",
            "hostName": "baproxy.dev.xxx.infomaker.io",
            "port": "5555",
            "healthPath": "/health",
            "queryPath": "/search",
            "objectPath": "/objects",
            "sortingsPath": "/sortings"
        },
        "contenttype": "Article",
        "locale": "sv",
        "defaultQueries": [
            {
                "label": "Fritext",
                "q": ""
            },
            {
                "label": "Artilkar med bilder",
                "q": "ImageUuid:*"
            },
            {
                "label": "Webartiklar",
                "q": "ArticleType:Webbartikel"
            }
        ],
        "propertyMap": {
            "uuid": "uuid",
            "headline": "ArticleHeadline",
            "authors": "Authors",
            "images": "ImageUuid",

            "created": "created",
            "updated": "updated",
            "published": "Pubdate",

            "pubstatus": "PubStatus",
            "premium": "Plus",
            "lifetime": "Lifetime",
            "newsvalue": "NewsPrio",
            "channels": "WriterServices",
            "sections": "Section",
            "profiles": "ArticleContentType",

            "hasPublishedVersion": "WriterHasPublishedVersion"
        },
        "icons": [
            {"name": "bot", "data": "data:image/svg+xml;base64,xxx"},
            {"name": "blt", "data": "data:image/svg+xml;base64,xxx"},
            {"name": "bt", "data": "data:image/svg+xml;base64,xxx"},
            {"name": "kb", "data": "data:image/svg+xml;base64,xxx"},
            {"name": "smp", "data": "data:image/svg+xml;base64,xxx"},
            ...
        ]
    }
},

Issues

New Feature

  • WPLUG-234 - Improve alternate rendering method for plugins with embeddable content (iframely, socialembed, youtube)
  • WPLUG-207 - Table plugin
  • WPLUG-174 - Contentrelations: Extend search and filter capabilities

Improvement

  • WPLUG-239 - Add config value to only use data > title-element for ContentPart plugin
  • WPLUG-233 - Add base link plugin based on writer link functionality

Bug

  • WPLUG-231 - Publishflow must visualize (with *) that article is unsaved during the whole save process
  • WPLUG-229 - Default sub option value in dropdown looks selected, but does not set value in XML.
  • WPLUG-226 - UATracker: Crashes when document changes before user logged in