From d9349080a180e76006cd2bf55ae7628128f67653 Mon Sep 17 00:00:00 2001 From: xdan Date: Wed, 6 Nov 2024 22:40:27 +0300 Subject: [PATCH] Update docs --- src/core/helpers/utils/complete-url.ts | 4 ++-- src/core/selection/style/api/extract.ts | 1 + src/plugins/image-properties/readers/align.ts | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/core/helpers/utils/complete-url.ts b/src/core/helpers/utils/complete-url.ts index 2131e7d7a..a4d050120 100644 --- a/src/core/helpers/utils/complete-url.ts +++ b/src/core/helpers/utils/complete-url.ts @@ -4,12 +4,12 @@ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net */ -import { globalWindow } from 'jodit/core/constants'; - /** * @module helpers/utils */ +import { globalWindow } from 'jodit/core/constants'; + export const completeUrl = (url: string): string => { if (globalWindow.location.protocol === 'file:' && /^\/\//.test(url)) { url = 'https:' + url; diff --git a/src/core/selection/style/api/extract.ts b/src/core/selection/style/api/extract.ts index f84b175ee..f0ec553d6 100644 --- a/src/core/selection/style/api/extract.ts +++ b/src/core/selection/style/api/extract.ts @@ -54,6 +54,7 @@ export function extractSelectedPart( /** * Retrieves content before after the selected area, clears it if it is empty, and inserts before after the framed selection + * @private */ function extractAndMove( wrapper: HTMLElement, diff --git a/src/plugins/image-properties/readers/align.ts b/src/plugins/image-properties/readers/align.ts index f84408ee3..0b9209b04 100644 --- a/src/plugins/image-properties/readers/align.ts +++ b/src/plugins/image-properties/readers/align.ts @@ -9,7 +9,9 @@ import { css } from 'jodit/core/helpers/utils/css'; import type { EditValues } from '../interface'; -/** @private */ +/** + * @private + */ export function readAlign(image: HTMLImageElement, values: EditValues): void { // Align if (