Skip to content

Commit

Permalink
Fixed code formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
niegowski committed Jan 29, 2024
1 parent 05d5f61 commit 1082260
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/ckeditor5-engine/src/controller/datacontroller.ts
Expand Up @@ -406,7 +406,13 @@ export default class DataController extends EmitterMixin() {
* cleared after the new data is applied (all undo steps will be removed). If the batch type `isUndoable` flag is be set to `true`,
* the undo stack will be preserved instead and not cleared when new data is applied.
*/
public set( data: string | Record<string, string>, options: { batchType?: BatchType, [ key: string ]: unknown } = {} ): void {
public set(
data: string | Record<string, string>,
options: {
batchType?: BatchType;
[ key: string ]: unknown;
} = {}
): void {
let newData: Record<string, string> = {};

if ( typeof data === 'string' ) {
Expand Down

0 comments on commit 1082260

Please sign in to comment.