rename packageVersion to clientVersion

This commit is contained in:
Jacob Overgaard
2023-12-19 09:23:40 +01:00
parent 586f6b9ae1
commit de08bae418
2 changed files with 3 additions and 3 deletions

View File

@@ -182,7 +182,7 @@ export class UmbInputTinyMceElement extends FormControlMixin(UmbLitElement) {
autoresize_bottom_margin: 10,
body_class: 'umb-rte',
//see https://www.tiny.cloud/docs/tinymce/6/editor-important-options/#cache_suffix
cache_suffix: `?umb__rnd=${umbMeta.packageVersion}`,
cache_suffix: `?umb__rnd=${umbMeta.clientVersion}`,
contextMenu: false,
inline_boundaries_selector: 'a[href],code,.mce-annotation,.umb-embed-holder,.umb-macro-holder',
menubar: false,

View File

@@ -2,6 +2,6 @@ import packageJson from '../../../../package.json';
export const umbMeta = {
name: 'Bellissima',
packageName: packageJson.name,
packageVersion: packageJson.version,
clientName: packageJson.name,
clientVersion: packageJson.version,
};