Skip to content

Commit c8c47b5

Browse files
committed
chore: give integrated browser unique id as to not conflict with other plugins
1 parent d2958d0 commit c8c47b5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/api/Saturyn/CodeblockProcessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type Options = SaturynParams &
2323

2424
export function SaturynCodeblock( plugin: GistrPlugin )
2525
{
26-
plugin.registerMarkdownCodeBlockProcessor( 'saturyn', ( code, el, arg ) =>
26+
plugin.registerMarkdownCodeBlockProcessor( 'gistr-web', ( code, el, arg ) =>
2727
{
2828
el.addClass( 'saturyn-view' )
2929
const pnl = SaturynHandleSyntax( plugin, code )

src/api/Saturyn/FormPortalEdit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const SaturynFormPortalEdit = ( plugin: GistrPlugin, contentEl: HTMLEleme
153153
.onChange( async ( val ) =>
154154
{
155155
if ( val === '' )
156-
val = 'saturyn'
156+
val = 'gistr-web'
157157

158158
params.profileKey = val
159159
}),

src/api/Saturyn/ParametersHandle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const SaturynParamsHandle = ( portal: Partial< SaturynParams > ): Saturyn
1111
if ( portal.id === '' || portal.id === undefined )
1212
{
1313
let key_id = portal.url!
14-
if ( portal.profileKey != undefined && portal.profileKey !== 'saturyn' && portal.profileKey !== '' )
14+
if ( portal.profileKey != undefined && portal.profileKey !== 'gistr-web' && portal.profileKey !== '' )
1515
{
1616
key_id += portal.profileKey
1717
}
@@ -21,7 +21,7 @@ export const SaturynParamsHandle = ( portal: Partial< SaturynParams > ): Saturyn
2121

2222
if ( portal.profileKey === '' || portal.profileKey === undefined )
2323
{
24-
portal.profileKey = 'saturyn'
24+
portal.profileKey = 'gistr-web'
2525
}
2626

2727
if ( portal.zoom === 0 || portal.zoom === undefined )

src/api/Saturyn/Template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const SaturynTemplate = ( ): SaturynParams =>
1010
url: '',
1111
hasRibbon: true,
1212
dock: 'right',
13-
profileKey: 'saturyn',
13+
profileKey: 'gistr-web',
1414
zoom: 1.0,
1515
userAgent: PortalUseragent
1616
}

0 commit comments

Comments
 (0)