I have searched all over the web for the documentation that fits into my working usecase for redactor 2, The working solutions I have gotten off the web and works for me isn’t on the redactor documentation for redactor 2, what is on the documentation does not work and throws an error,
"green-title-1": {
"title": "Green header 1",
"api": "module.block.inline",
"args": ["h1", {"class": "coriandr-green-text"}, "toggle"],
}
};
This is the only formating that works for me, but my challenge now is how to add attr to the args, so I could add an ID attribute to the object…