Skip to content

Commit b2bed62

Browse files
authored
[OLYMPUS-572]: Update the Filament TipTap plugin to ensure it registers it's assets with the proper version (#16)
* [OLYMPUS-572]: Update the Filament TipTap plugin to ensure it registers it's assets with the proper version * Update tiptap-editor.blade.php
1 parent 1ec1ca5 commit b2bed62

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

resources/views/tiptap-editor.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
}"
3131
x-on:tiptap-uploading-file.stop="if ($event.detail.statePath === @js($statePath)) isUploadingFile = true"
3232
x-on:tiptap-uploaded-file.stop="if ($event.detail.statePath === @js($statePath)) isUploadingFile = false"
33-
@if (!$shouldDisableStylesheet()) x-load-css="[@js(\Filament\Support\Facades\FilamentAsset::getStyleHref('tiptap', 'awcodes/tiptap-editor'))]" @endif
33+
@if (!$shouldDisableStylesheet()) x-load-css="[@js(\Filament\Support\Facades\FilamentAsset::getStyleHref('tiptap', 'canyongbs/filament-tiptap-editor'))]" @endif
3434
>
3535
<div
3636
class="tiptap-wrapper relative z-0 rounded-md bg-white focus-within:z-10 focus-within:ring focus-within:ring-primary-500 dark:bg-gray-900"
3737
wire:ignore
3838
x-ignore
3939
ax-load="visible"
40-
ax-load-src="{{ \Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('tiptap', 'awcodes/tiptap-editor') }}"
40+
ax-load-src="{{ \Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('tiptap', 'canyongbs/filament-tiptap-editor') }}"
4141
x-bind:class="{ 'tiptap-fullscreen': fullScreenMode }"
4242
x-data="tiptap({
4343
state: $wire.{{ $applyStateBindingModifiers("entangle('{$statePath}')", isOptimisticallyLive: true) }},

src/FilamentTiptapEditorServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ public function packageRegistered(): void
4545
$assets[] = Css::make('tiptap-custom-extension-styles', Vite::asset(config('filament-tiptap-editor.extensions_styles')));
4646
}
4747

48-
FilamentAsset::register($assets, 'awcodes/tiptap-editor');
48+
FilamentAsset::register($assets, 'canyongbs/filament-tiptap-editor');
4949
}
5050
}

0 commit comments

Comments
 (0)