Current behavior
Currently I'm using Serenity template and using Editor input to view data coming back from API. I'd like to just view (without allow user to edit) so we don't need Toolbar on the top of Editor. I already try Header empty to see how it works. It overridded all Toolbar buttons but is still showing a header for the Editor.
Expected behavior
Could we have any way just to using Editor to view data without showing Editor' header
Editor In View mode
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please try;
Code: Select all
body .p-editor-container .p-editor-toolbar {
display: none;
}
And
<Editor headerTemplate={<></>} .../>
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests