tiptap mozilla bug wip

This commit is contained in:
salam committed 2025-11-15 12:03:09 +01:00
1 parent fb7152fd3c
commit 17ed7b7f8f
3 files changed
+35 -26

No files matched your search

@@ -52,9 +52,10 @@ class AuftraggeberForm
Checkbox::make('text_anzeigen') Checkbox::make('text_anzeigen')
->label('Diesen Text am Deckblatt des Gutachtens verwenden'), ->label('Diesen Text am Deckblatt des Gutachtens verwenden'),
RichEditor::make('referenz_formatting') RichEditor::make('referenz_formatting')
->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto; white-wrap: pre-wrap;'])
->json() ->json()
->toolbarButtons([ ->toolbarButtons([
['bold', 'italic', 'underline'], ['bold', 'italic', 'underline', 'clearFormatting'],
]) ])
->label('Firmenname mit Adresse') ->label('Firmenname mit Adresse')
->required(), ->required(),
+21 -21
View File
@@ -531,7 +531,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::NkN4QpUjngNbZAos', '_route' => 'generated::CRSOalfJBQUWRTmD',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -551,7 +551,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::8FCdLcmod7hipvmj', '_route' => 'generated::fut4dTFIicfwlPvz',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -609,7 +609,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::0yPu2mMiYrnw6UEK', '_route' => 'generated::sLaAvEcPOY2IZAp0',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -629,7 +629,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::364TQQAB7Xh2zlDS', '_route' => 'generated::NumhmSZfmop1MSxi',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -649,7 +649,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::xPT8o6xiIzUAEvUz', '_route' => 'generated::TwjmD6o8aGbggF7n',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -669,7 +669,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::5dIcRKPncl8H58kG', '_route' => 'generated::hEqRhKNv5nEFJqNb',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -689,7 +689,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::zfpyaG1mdEPrYbtG', '_route' => 'generated::mHxRN8Oughm2Baqp',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -2717,7 +2717,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::NkN4QpUjngNbZAos' => 'generated::CRSOalfJBQUWRTmD' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2729,7 +2729,7 @@ app('router')->setCompiledRoutes(
array ( array (
'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile', 'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile',
'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile', 'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile',
'as' => 'generated::NkN4QpUjngNbZAos', 'as' => 'generated::CRSOalfJBQUWRTmD',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2745,7 +2745,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::8FCdLcmod7hipvmj' => 'generated::fut4dTFIicfwlPvz' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2757,7 +2757,7 @@ app('router')->setCompiledRoutes(
array ( array (
'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps', 'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps',
'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps', 'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps',
'as' => 'generated::8FCdLcmod7hipvmj', 'as' => 'generated::fut4dTFIicfwlPvz',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2859,7 +2859,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::0yPu2mMiYrnw6UEK' => 'generated::sLaAvEcPOY2IZAp0' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2888,7 +2888,7 @@ app('router')->setCompiledRoutes(
\'exception\' => $exception, \'exception\' => $exception,
]), status: $exception ? 500 : 200); ]), status: $exception ? 500 : 200);
}";s:5:"scope";s:54:"Illuminate\\Foundation\\Configuration\\ApplicationBuilder";s:4:"this";N;s:4:"self";s:32:"0000000000000f460000000000000000";}}', }";s:5:"scope";s:54:"Illuminate\\Foundation\\Configuration\\ApplicationBuilder";s:4:"this";N;s:4:"self";s:32:"0000000000000f460000000000000000";}}',
'as' => 'generated::0yPu2mMiYrnw6UEK', 'as' => 'generated::sLaAvEcPOY2IZAp0',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2904,7 +2904,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::364TQQAB7Xh2zlDS' => 'generated::NumhmSZfmop1MSxi' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2926,7 +2926,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::364TQQAB7Xh2zlDS', 'as' => 'generated::NumhmSZfmop1MSxi',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2942,7 +2942,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::xPT8o6xiIzUAEvUz' => 'generated::TwjmD6o8aGbggF7n' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2964,7 +2964,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::xPT8o6xiIzUAEvUz', 'as' => 'generated::TwjmD6o8aGbggF7n',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2980,7 +2980,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::5dIcRKPncl8H58kG' => 'generated::hEqRhKNv5nEFJqNb' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -3002,7 +3002,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::5dIcRKPncl8H58kG', 'as' => 'generated::hEqRhKNv5nEFJqNb',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -3018,7 +3018,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::zfpyaG1mdEPrYbtG' => 'generated::mHxRN8Oughm2Baqp' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -3040,7 +3040,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::zfpyaG1mdEPrYbtG', 'as' => 'generated::mHxRN8Oughm2Baqp',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
+12 -4
View File
@@ -55,14 +55,22 @@
--radius-radius: var(--radius-sm); --radius-radius: var(--radius-sm);
} }
/*
tiptap mozilla shows double return at end of first line
*/
.tiptap {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
/* For Firefox compatibility */
}
.tiptap p { .tiptap p {
margin-bottom: 0 !important; padding: 0.5mm 1mm;
margin-top: 0 !important; margin: 1em 0;
padding: 0.3mm 1mm;
font-family: Verdana, Tahoma, sans-serif; font-family: Verdana, Tahoma, sans-serif;
font-size: 10pt; font-size: 10pt;
font-weight: normal; font-weight: normal;
line-height: 14pt; line-height: 17pt !important;
} }
.tiptap a { .tiptap a {