5の後に文字を入力する必要がありません。 enforceMaxLengthとmaxLengthが動作しないように見える 設定を提供する必要がある場合は、私を助けてください。Ext JsでHTMLエディタのmaxlengthを10に制限する必要があります
new Ext.panel.Panel({
title: 'HTML Editor',
renderTo: Ext.getBody(),
width: 550,
height: 250,
frame: true,
layout: 'fit',
items: {
xtype: 'htmleditor',
enableColors: false,
enableAlignments: false,
enforceMaxLength: true,
maxLength: 5
}
});
htmleditorに5文字しか入力しないように制限しますか? – AswathyPrasad