pepebe
12/18/2014 - 9:14 AM

HowTo: add definedlinks to #modx #redactor by @modmore

HowTo: add definedlinks to #modx #redactor by @modmore

Create a new file on your server:

Example: assets/components/redactor/myplugins/definedlinks.json

[
{
    "name": "modmore",
    "url": "http://modmore.com"
},
{
    "name": "MODX",
    "url": "http://modx.com"
},
{
    "name": "TryCatch",
    "url": "http://devries.jp"
}
]

Edit system setting for redactor.predefinedLinks

../assets/components/redactor/myplugins/definedlinks.json