Closed FollowSteph closed 1 year ago
VaadinCKEditor editor = new VaadinCKEditorBuilder().with(builder -> { ... builder.readOnly = true; builder.hideToolbar=true; ... }).createVaadinCKEditor();
On 28/08/2023, at 8:59 AM, FollowSteph @.***> wrote:
Specifically I'm trying to re-create the read only version with no toolbar. I tried to set it up new Constants.Toolbar[]{} but that just ended up going with the default toolbar. I also tried the inline and styling it through addClassname(stylename) but that caused some weird styling issues (using for example border: 1px solid black;). In any case how does one go about creating the read only ckeditor you created in your demo on that page at the top that has a border but no toolbar?
Thank you.
— Reply to this email directly, view it on GitHub https://github.com/wontlost-ltd/vaadin-litelement-ckeditor/issues/53, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6BLXQAY3XVVIXPTSTK7LLXXOYLZANCNFSM6AAAAAA4ARQOPM. You are receiving this because you are subscribed to this thread.
That was exactly what I was looking for. Thank you very much.
Forgot to close
Specifically I'm trying to re-create the read only version with no toolbar. I tried to set it up new Constants.Toolbar[]{} but that just ended up going with the default toolbar. I also tried the inline and styling it through addClassname(stylename) but that caused some weird styling issues (using for example border: 1px solid black;). In any case how does one go about creating the read only ckeditor you created in your demo on that page at the top that has a border but no toolbar?
Thank you.