Within my form, I have 10 text areas and 10 CKE editors. Initially, only the text areas are displayed upon loading.
Each text editor has a toggle button located at the top. When this toggle function is called, the respective editor should switch to a CKE editor.
I managed to implement this for one of the editors successfully.
-
I am looking for a solution where I don't have to declare 10 boolean variables. Is there a way to handle this more efficiently?