UNPKG

@ckeditor/ckeditor5-enter

Version:

Enter feature for CKEditor 5.

12 lines (10 loc) 791 B
/** * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ ( e => { const { [ 'pl' ]: { dictionary, getPluralForm } } = {"pl":{"dictionary":{"Insert a soft break (a <code>&lt;br&gt;</code> element)":"Wstawia miękki enter (element <code>&lt;br&gt;</code>","Insert a hard break (a new paragraph)":"Wstawia twardą spację (nowy akapit)"},getPluralForm(n){return (n == 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);}}}; e[ 'pl' ] ||= { dictionary: {}, getPluralForm: null }; e[ 'pl' ].dictionary = Object.assign( e[ 'pl' ].dictionary, dictionary ); e[ 'pl' ].getPluralForm = getPluralForm; } )( window.CKEDITOR_TRANSLATIONS ||= {} );