@ckeditor/ckeditor5-ai
Version:
AI Assistant feature for CKEditor 5.
23 lines • 1.6 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x31043a,_0x4d02c9){const _0x30c33e=(0x0,_0x4d02c9['t'])('Other');return _0x31043a['length']?'groupId'in _0x31043a[0x0]?_0x31043a:[{'groupId':'_ungrouppedCommands','groupLabel':_0x30c33e,'order':0x1/0x0,'commands':_0x31043a}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x30c33e,'order':0x1/0x0,'commands':[]}];}