@ckeditor/ckeditor5-ai
Version:
AI features 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(_0x92fab0,_0x550ccd){const _0x40c37d=(0x0,_0x550ccd['t'])('Other');return _0x92fab0['length']?'groupId'in _0x92fab0[0x0]?_0x92fab0:[{'groupId':'_ungrouppedCommands','groupLabel':_0x40c37d,'order':0x1/0x0,'commands':_0x92fab0}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x40c37d,'order':0x1/0x0,'commands':[]}];}