From 981f9ace047713434bf97198734a006b0a7317b8 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Mon, 12 Jan 2026 16:12:06 +0000 Subject: [PATCH] TinyMCE - add all options to mobile (we may regret this) --- js/app.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index edae3f18..96fc95f4 100644 --- a/js/app.js +++ b/js/app.js @@ -201,7 +201,16 @@ $(document).ready(function() { ], mobile: { menubar: false, - toolbar: 'bold italic styles' + toolbar: [ + { name: 'styles', items: ['styles'] }, + { name: 'formatting', items: ['bold', 'italic', 'forecolor'] }, + { name: 'link', items: ['link'] }, + { name: 'lists', items: ['bullist', 'numlist'] }, + { name: 'indentation', items: ['outdent', 'indent'] }, + { name: 'ai', items: ['reword', 'undo', 'redo'] }, + { name: 'custom', items: ['redactButton'] }, + { name: 'code', items: ['code'] }, + ], }, convert_urls: false, plugins: 'link image lists table code codesample fullscreen autoresize code',