[Neos] Aloha editor add classes

Aske Ertmann aske at moc.net
Tue Jan 28 21:45:27 CET 2014


Hey Dominic

Looking into Aloha and unfortunately it doesn't seem to support formatting of block quotes. Here's the list of elements it does support:
var formattableBlockNames = ["address", "dd", "div", "dt", "h1", "h2", "h3", "h4", "h5", "h6", "p", "pre"];

Though making a block quote editable is however possible as the supported tag list you referred mentions. I'd suggest creating a specific node type for the block quote purpose. Keeping the formatting options fewer also limits the editors instead of having a full-blown editor which will only lead to unsemantically formatted content from the editors.

/Aske

On Jan 28, 2014, at 11:43 AM, Dominic Garms <djgarms at gmail.com> wrote:

> Hi Aske
>> You should be able to configure this per property for your node type. Have a look how it's done here https://git.typo3.org/Packages/TYPO3.Neos.NodeTypes.git/blob/HEAD:/Configuration/NodeTypes.yaml#l60
>> 
>> All tags might not be supported though, that depends on Aloha..
>> 
> I checked out the docs of Aloha:
> http://www.aloha-editor.org/guides/using_aloha.html
> 
> There I find the tags like "blockquote", "small" as supported tags but I tried to activate them inside the "format" section:
> 
> "format":
>  "blockquote": TRUE
>  "small": TRUE
> 
> Nothing changed so I guess there might be something missing inside of the yaml converter?
> 
> Cheers,
> Dominic
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos



More information about the Neos mailing list