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

Provide access/hook to inline_models, in order to customize the generated forms #1995

Open
jessesheidlower opened this issue Jun 29, 2020 · 0 comments

Comments

@jessesheidlower
Copy link

I am interested in attaching a WYSIWYG editor to a textarea as generated by inline_models. There's a discussion of how to do this for regular textareas in this repo. After a bit of experimentation, it seemed to be impossible to do this for the inline_models ones because of lack of control over how that generates the forms.

I asked about it as an Issue in the Flask-CKEditor repo (whose maintainer made the last comment in the link above), and, after I provided sample code for how it should work, the maintainer said "Since the textarea is dynamically created when using inline model, I can't find a proper way to make it work with this extension. Please report this issue to Flask-Admin, maybe they can add a hook to support this feature."

Apologies if I'm misunderstanding what would be required to make this happen. If there is a way to accomplish this currently, I'd love a hint.

Thanks.

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

No branches or pull requests

1 participant