You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: knowledge-base/in-place-editor.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,10 @@ The sample below uses an algorithm which toggles between read-only UI and an edi
56
56
57
57
The features and business logic below can be subject to additional customizations and enhancements.
58
58
59
-
Replace `YourAppName` with the actual root namespace of your app.
59
+
To run the code successfully:
60
+
61
+
* Replace `YourAppName` with the actual root namespace of your app.
62
+
* Make sure your app supports CSS isolation and loads a `YourAppName.styles.css` file. Browser caching of this file can prevent the InPlaceEditor styles from showing.
60
63
61
64
<divclass="skip-repl"></div>
62
65
@@ -688,6 +691,12 @@ Replace `YourAppName` with the actual root namespace of your app.
688
691
}
689
692
````
690
693
````InPlaceEditor.razor.css
694
+
/*
695
+
This .razor.css file relies on Blazor CSS isolation, which in turn requires a YourAppName.styles.css file in App.razor.
696
+
Make sure that the browser doesn't load an old cached version of this file, otherwise you may not see the InPlaceEditor styles.
697
+
A symptom of this problem are persistent icons when ShowIcons="InPlaceEditorShowIcons.Hover".
0 commit comments