[SOLVED] HTML Editor Attribute

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
PointsWell
Posts: 1198
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

[SOLVED] HTML Editor Attribute

Post by PointsWell »

Hi

Does anyone know how to modify the init script for an HTML editor Text attribute

The example is here https://demos.telerik.com/kendo-ui/editor/index

And I can figure out how to tweak the editor to remove elements (eg Font Families) in the Kendo Dojo, but I don't know how to translate that to AIM.

this is the sample code from the dojo

Code: Select all

 var editor = $("#editor").kendoEditor({
                stylesheets: [
                    "../content/shared/styles/editor.css",
                ],
                tools: [
                    "bold",
                    "italic",
                    "underline",
                    "justifyLeft",
                    "justifyCenter",
                    "justifyRight",
                    "insertUnorderedList",
                    "createLink",
                    "unlink",
                    "insertImage",
                    "tableWizard",
                    "createTable",
                    "addRowAbove",
                    "addRowBelow",
                    "addColumnLeft",
                    "addColumnRight",
                    "deleteRow",
                    "deleteColumn",
                    "mergeCellsHorizontally",
                    "mergeCellsVertically",
                    "splitCellHorizontally",
                    "splitCellVertically",
                    "tableAlignLeft",
                    "tableAlignCenter",
                    "tableAlignRight",
                    "formatting",
                    "backColor",
                ]
            });
Last edited by PointsWell on Wed Jun 09, 2021 7:17 am, edited 1 time in total.
PointsWell
Posts: 1198
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: HTML Editor Attribute

Post by PointsWell »

Well after spending a whole day yesterday searching the forums with zero success, I posted my question and then 2 hours later found the post I was looking for...

It is here https://awareim.com/forum/viewtopic.php ... c8e#p49465
UnionSystems
Posts: 187
Joined: Fri Jun 17, 2016 7:10 am
Location: Brisbane Australia
Contact:

Re: [SOLVED] HTML Editor Attribute

Post by UnionSystems »

AWS Linux, Windows Server, AIM 8.4 & 8.6
PointsWell
Posts: 1198
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: [SOLVED] HTML Editor Attribute

Post by PointsWell »

UnionSystems wrote: Wed Jun 09, 2021 11:28 am There is also one at https://www.awareim.com/forum/viewtopic ... 913#p40913
I'll be speaking to you tomorrow I think!
Post Reply