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

Add editor shortcuts for our custom icons #1957

Closed
ulliholtgrave opened this issue Dec 9, 2022 · 2 comments · Fixed by #1962
Closed

Add editor shortcuts for our custom icons #1957

ulliholtgrave opened this issue Dec 9, 2022 · 2 comments · Fixed by #1962
Assignees
Labels
🍼 good first issue Good for newcomers 💡 feature New feature or request ❗ prio: medium Should be scheduled in the forseeable future. ☺️ effort: low Should be doable in <4h
Milestone

Comments

@ulliholtgrave
Copy link
Member

Motivation

I noticed that it seems to be pretty easy to define shortcuts (e.g. Alt+I+1) for own functions inside the TinyMCE and I also received some feature requests by municipalities for this. As this isn't a big change and probably benefits some municipalities a lot, I would think of it as a "quick win" that we should implement rather sooner then later.

Proposed Solution

Add the TinyMCE in-built shortcuts to our addIcon functionality. See. https://www.tiny.cloud/blog/creating-keyboard-shortcuts-tinymce/

@ulliholtgrave ulliholtgrave added 💡 feature New feature or request 🍼 good first issue Good for newcomers ❗ prio: medium Should be scheduled in the forseeable future. ☺️ effort: low Should be doable in <4h labels Dec 9, 2022
@ulliholtgrave ulliholtgrave added this to the 22Q4 milestone Dec 9, 2022
@muddi900
Copy link
Contributor

muddi900 commented Dec 9, 2022

So does this mean the app should look for any un-listed icons in the svg folded and add them? Or you give users a popup to upload an svg file?

@JoeyStk
Copy link
Contributor

JoeyStk commented Dec 9, 2022

Hi @muddi900, thank you for your interest in our project. Our editor has several custom icons which can be inserted and for them we want to use shortcuts so the users of our CMS can easily access them (See screenshot for how the icons are currently being input)
image

muddi900 added a commit to muddi900/integreat-cms that referenced this issue Dec 10, 2022
muddi900 added a commit to muddi900/integreat-cms that referenced this issue Dec 13, 2022
…editor

refactored the insert icon flow and replace addIcon with the refactored flow for shortcuts. Also added th the refactored to addIcon
muddi900 added a commit to muddi900/integreat-cms that referenced this issue Dec 13, 2022
…editor

refactored the insert icon flow and replace addIcon with the refactored flow for shortcuts. Also added th the refactored to addIcon

added change to unreleased features
timobrembeck pushed a commit to muddi900/integreat-cms that referenced this issue Dec 18, 2022
…editor

refactored the insert icon flow and replace addIcon with the refactored flow for shortcuts. Also added th the refactored to addIcon

added change to unreleased features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍼 good first issue Good for newcomers 💡 feature New feature or request ❗ prio: medium Should be scheduled in the forseeable future. ☺️ effort: low Should be doable in <4h
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants