In Dojo's text editor (dijit/InlineEditBox) I need to set dynamically the maximum number of characters per line.
I suspect that "editorparams" could be used for that, but I can't find documentation or good examples about it.
Is it possible to set a maximum number of characters per line? If so, how?
Yes, it is possible.
editorParamsshould contain object with properties of editor, you're using inInlineTextBox.See snippet below.
In this case editor is
dijit/form/TextBoxand its propertymaxlengthis set to 10.