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

🚀 - TuiEditorNewComponent to have a possibility to edit the HTML Code as a plain text #1263

Closed
AILazerka opened this issue Jan 26, 2022 · 3 comments
Assignees
Labels
P3 This issue has low priority

Comments

@AILazerka
Copy link

Which @taiga-ui/* package(s) are relevant/releated to the feature request?

addon-editor

Description

For some application use-cases it may be useful to have the possibility to edit the html directly.

The use case that I'm having is the following:
There are different account login possibilities exists in the application. Being abstract: we have a possibility to login to account as a plain client and as admin. For the admins we are having the possibility to adjust the code directly in case of some issues. My suggestion is to have a new uiTool to have a new button in the toolbar so it will give a possibility of editing the HTML content directly as the HTML Code.

Right now I'm going to implement the custom tool as to the taiga-ui documentation.

Hoping it will be useful.
Thank you in advance!

@waterplea
Copy link
Collaborator

You can probably make a toggle on your page between tui-textarea and tui-editor components tied to the same control while this is not implemented natively in Editor component.

@waterplea waterplea added P3 This issue has low priority and removed state: need triage labels Feb 1, 2022
@AILazerka
Copy link
Author

Yep @waterplea. That's a kind of what I did as a temporary workaround until the feature will be added 🙂

@splincode
Copy link
Member

Close in favor of taiga-family/editor#18

@splincode splincode self-assigned this Sep 26, 2023
@splincode splincode moved this to ✅ Done in Taiga-family Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 This issue has low priority
Development

No branches or pull requests

3 participants