[Neos] Disable Aloah
aske at moc.net
Mon Jul 14 11:53:50 CEST 2014
Just to add to this topic.
I fixed the link field being visible https://review.typo3.org/#/c/31608/
And worked a bit on making this possible with https://review.typo3.org/#/c/31611/ + https://review.typo3.org/#/c/31612/
It won’t disable Aloha because it’s needed to track the changes, but it will behave almost like desired. The formatless pasting should be turned on by default and the button removed to avoid pasting arbitrary HTML.
Additionally documented the missing options https://review.typo3.org/#/c/31610/
Note that it will only be possible in the next release (1.2).
Btw. Carsten solved it by implementing his own version of the code snippet editor started here https://review.typo3.org/#/c/22062/ + https://review.typo3.org/#/c/22065/.
@Carsten: Maybe you could share that?
On 12 Jul 2014, at 13:22, Lorenz Reichelt <lr at pripple.de> wrote:
> Hi Carsten,
> when I wanted to do this for Headlines, abstracts etc. in a project I’ve just finished, I read through the comments at http://forum.typo3.org/index.php/t/202494/inline-editable-page-property (and the link at the bottom, https://gist.github.com/aertmann/f9c8a33e8720f7cb21be).
> The information I found there made me think that it is currently impossible to edit plain text. However, I managed to hide all the options from the aloha editor, except „Remove formatting“. However, a user could still post text with tags on it, or use key commands to apply formatting. Also, for me, whenever I customize the aloha toolbar, it shows the link href box without a link being selected. So, this might be a workaround if you don’t want to take the time to implement a plain text inline editing view helper.
> Best regards,
> Am 12.07.2014 um 12:39 schrieb Carsten Bleicker <carsten at bleicker.de>:
>> Need to disable aloah for specific element "Code" wich should show codesnippets.
>> Its inline editable but does not need any format options.
> Neos mailing list
> Neos at lists.typo3.org
More information about the Neos