Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@readOnly not making editor readOnly #3

Open
alexparker opened this issue Sep 21, 2022 · 3 comments
Open

@readOnly not making editor readOnly #3

alexparker opened this issue Sep 21, 2022 · 3 comments

Comments

@alexparker
Copy link

I am still able to use and edit in the editor despite passing the readOnly attribute and checking that it was passed into the component options.

<!-- Template code -->
<QuillEditor @name={{this.args.name}} @text={{this.args.text}} @delta={{this.args.delta}}
        @onChange={{this.setChange}} @onEditorChange={{this.onEditorChange}} @modules={{this.modules}}
        @placeholder={{this.args.placeholder}} @theme="snow" @readOnly={{true}}>
</QuillEditor>

Ember Inspector:

@lindyhopchris
Copy link
Member

Thanks for raising this issue. I haven't done anything on this package for a while, so don't immediately know what the problem might be. Definitely do want to fix this if it's possible to fix.

I can't immediately see what the problem is because it looks like the readOnly argument is passed in here:
https://github.com/cloudcreativity/ember-quill/blob/develop/addon/components/quill-editor.js#L39

Just to be upfront about my availability: I'm really busy for the next week then I'm on holiday for a fortnight. If you're able to investigate the problem then that would be helpful.

@DirkLachowski
Copy link

DirkLachowski commented Nov 24, 2024

Doesn’t work in Quill slab/quill#3654, so it doesn’t work here either.

@Distantman
Copy link

Distantman commented Dec 6, 2024

Anyone solved this on flutter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants