Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Textarea Class #44

Open
hirbod opened this issue Sep 24, 2017 · 1 comment
Open

Textarea Class #44

hirbod opened this issue Sep 24, 2017 · 1 comment

Comments

@hirbod
Copy link

hirbod commented Sep 24, 2017

Ich würde mich freuen, wenn es noch in der Setting die Möglichkeit geben könnte, der Textarea eine Custom-Class zu übergeben. Dadurch könnte man ohne weiteres z.B. Redactor oder CKEditor für die Ersetzungen nutzen, um HTML zu ermöglichen.

@dtpop
Copy link

dtpop commented Jul 25, 2022

Das Issue ist zwar schon ein paar Jahre alt, aber die Aufgabe ist recht einfach per JS lösbar.

    $(document).on('rex:ready', function() {
        sprog_init();
    });

    function sprog_init() {
        $('[id^=rex-page-sprog-wildcard] fieldset dl + dl textarea').addClass('tinyMCE-headline');
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants