Task #54273

Aloha: Make it possible to configure options via YAML

Added by Bastian Waidelich almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Content Editing
Target version:
Start date:
2013-12-07
Due date:
% Done:

100%

Estimated time:

Description

It should be possible to define what formatting options are available (per NodeType).
Currently we can add new options e.g.

'TYPO3.Neos.NodeTypes:Headline':
  properties:
    title:
      ui:
        aloha:
          format: ['h4']

But we can't remove existing options.
We should turn the array into a map, so instead of:

format: ['b', 'i', 'u', 'sub', 'sup', 'p', 'h1', 'h2', 'h3', 'pre', 'removeFormat']

something like
format:
  'b': TRUE,
  'i': TRUE, 
...

#1

Updated by Adrian Föder almost 8 years ago

  • Assignee set to Adrian Föder
#2

Updated by Adrian Föder almost 8 years ago

  • Status changed from New to Accepted
#3

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.Neos has been pushed to the review server.
It is available at https://review.typo3.org/26044

#4

Updated by Gerrit Code Review almost 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.Neos has been pushed to the review server.
It is available at https://review.typo3.org/26044

#5

Updated by Adrian Föder almost 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:4ebd4e81b56e60ce8305a740f756fd1ee69e55e7.

#6

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 1.0 of project Packages/TYPO3.Neos has been pushed to the review server.
It is available at https://review.typo3.org/26311

#7

Updated by Adrian Föder almost 8 years ago

  • Status changed from Under Review to Resolved

Applied in changeset commit:d82610f691ef0b9a9307f5b486b21b6fb93d9375.

Also available in: Atom PDF