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')
->label('Diesen Text am Deckblatt des Gutachtens verwenden'),
RichEditor::make('referenz_formatting')
->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto; white-wrap: pre-wrap;'])
->json()
->toolbarButtons([
['bold', 'italic', 'underline'],
['bold', 'italic', 'underline', 'clearFormatting'],
])
->label('Firmenname mit Adresse')
->required(),
+21 -21
View File
@@ -531,7 +531,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::NkN4QpUjngNbZAos',
'_route' => 'generated::CRSOalfJBQUWRTmD',
),
1 => NULL,
2 =>
@@ -551,7 +551,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::8FCdLcmod7hipvmj',
'_route' => 'generated::fut4dTFIicfwlPvz',
),
1 => NULL,
2 =>
@@ -609,7 +609,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::0yPu2mMiYrnw6UEK',
'_route' => 'generated::sLaAvEcPOY2IZAp0',
),
1 => NULL,
2 =>
@@ -629,7 +629,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::364TQQAB7Xh2zlDS',
'_route' => 'generated::NumhmSZfmop1MSxi',
),
1 => NULL,
2 =>
@@ -649,7 +649,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::xPT8o6xiIzUAEvUz',
'_route' => 'generated::TwjmD6o8aGbggF7n',
),
1 => NULL,
2 =>
@@ -669,7 +669,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::5dIcRKPncl8H58kG',
'_route' => 'generated::hEqRhKNv5nEFJqNb',
),
1 => NULL,
2 =>
@@ -689,7 +689,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::zfpyaG1mdEPrYbtG',
'_route' => 'generated::mHxRN8Oughm2Baqp',
),
1 => NULL,
2 =>
@@ -2717,7 +2717,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::NkN4QpUjngNbZAos' =>
'generated::CRSOalfJBQUWRTmD' =>
array (
'methods' =>
array (
@@ -2729,7 +2729,7 @@ app('router')->setCompiledRoutes(
array (
'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile',
'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile',
'as' => 'generated::NkN4QpUjngNbZAos',
'as' => 'generated::CRSOalfJBQUWRTmD',
),
'fallback' => false,
'defaults' =>
@@ -2745,7 +2745,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::8FCdLcmod7hipvmj' =>
'generated::fut4dTFIicfwlPvz' =>
array (
'methods' =>
array (
@@ -2757,7 +2757,7 @@ app('router')->setCompiledRoutes(
array (
'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps',
'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps',
'as' => 'generated::8FCdLcmod7hipvmj',
'as' => 'generated::fut4dTFIicfwlPvz',
),
'fallback' => false,
'defaults' =>
@@ -2859,7 +2859,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::0yPu2mMiYrnw6UEK' =>
'generated::sLaAvEcPOY2IZAp0' =>
array (
'methods' =>
array (
@@ -2888,7 +2888,7 @@ app('router')->setCompiledRoutes(
\'exception\' => $exception,
]), status: $exception ? 500 : 200);
}";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,
'defaults' =>
@@ -2904,7 +2904,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::364TQQAB7Xh2zlDS' =>
'generated::NumhmSZfmop1MSxi' =>
array (
'methods' =>
array (
@@ -2926,7 +2926,7 @@ app('router')->setCompiledRoutes(
'where' =>
array (
),
'as' => 'generated::364TQQAB7Xh2zlDS',
'as' => 'generated::NumhmSZfmop1MSxi',
),
'fallback' => false,
'defaults' =>
@@ -2942,7 +2942,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::xPT8o6xiIzUAEvUz' =>
'generated::TwjmD6o8aGbggF7n' =>
array (
'methods' =>
array (
@@ -2964,7 +2964,7 @@ app('router')->setCompiledRoutes(
'where' =>
array (
),
'as' => 'generated::xPT8o6xiIzUAEvUz',
'as' => 'generated::TwjmD6o8aGbggF7n',
),
'fallback' => false,
'defaults' =>
@@ -2980,7 +2980,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::5dIcRKPncl8H58kG' =>
'generated::hEqRhKNv5nEFJqNb' =>
array (
'methods' =>
array (
@@ -3002,7 +3002,7 @@ app('router')->setCompiledRoutes(
'where' =>
array (
),
'as' => 'generated::5dIcRKPncl8H58kG',
'as' => 'generated::hEqRhKNv5nEFJqNb',
),
'fallback' => false,
'defaults' =>
@@ -3018,7 +3018,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::zfpyaG1mdEPrYbtG' =>
'generated::mHxRN8Oughm2Baqp' =>
array (
'methods' =>
array (
@@ -3040,7 +3040,7 @@ app('router')->setCompiledRoutes(
'where' =>
array (
),
'as' => 'generated::zfpyaG1mdEPrYbtG',
'as' => 'generated::mHxRN8Oughm2Baqp',
),
'fallback' => false,
'defaults' =>
+12 -4
View File
@@ -55,14 +55,22 @@
--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 {
margin-bottom: 0 !important;
margin-top: 0 !important;
padding: 0.3mm 1mm;
padding: 0.5mm 1mm;
margin: 1em 0;
font-family: Verdana, Tahoma, sans-serif;
font-size: 10pt;
font-weight: normal;
line-height: 14pt;
line-height: 17pt !important;
}
.tiptap a {