Comments (4)
This is possible in version 1.1.1 as shown here:
https://stackblitz.com/edit/angular-mentions-button
from angular-mentions.
I'm looking for the same functionnality. @ghernagon have you find a way ?
from angular-mentions.
@dmacfarlane what about using contentEditable
? Should that work as well? I tried this for TinyMCE, and it works if there's already content in the box, but it hangs if the box is empty.
editor.ui.registry.addButton('mentionButton', {
text: '@',
tooltip: 'Mention someone',
onAction: () => {
const frame = <any>window.frames[editor.iframeElement.id];
const contentEditable = frame.contentDocument.getElementById('tinymce');
this.mention.startSearch('@', contentEditable);
}
});
Do I need to change how I'm doing it or are there known issues with contentEditable?
from angular-mentions.
@aeslinger0 you were able to fix the issue when it's contentEditable
, if possible please share the solution, I am also facing the same issue
from angular-mentions.
Related Issues (20)
- Upgrade to angular 13 + Ivy
- infinite scroll and pagination doesn't work in mention list modal
- Need an event when removed after mension item
- Build error after update version 1.5 HOT 3
- How to use the directive with async API results? HOT 3
- Support for angular 13 HOT 4
- How to show list mention after select mention item ?
- Is this project dead?
- Angular 11 Error: ./node_modules/angular-mentions/fesm2015/angular-mentions.mjs 1075:12-24 Can't import the named export 'CommonModule' from non EcmaScript module (only default export is available) HOT 1
- having multiple text areas with mentions configured in a div and if div has scroll then mentions dropdown is not showing in correct postion HOT 1
- Angular 14 Support? HOT 2
- How can we highlight or bold selected(Mention) words HOT 1
- Incorrect peer dependency range
- Angular 15 issues? HOT 2
- No records matched / found message HOT 1
- How can I remove the mentioned user from mentioned items list once I have already mentioned it?
- I have mentioned the same user again then the font is not bold and the same user is a third-time stack in the mentioned list
- Version 1.4 is throwing this error. This application depends upon a library published using Angular version 14.0.6 HOT 3
- We need to remove mention user list event. HOT 1
- @Output itemSelected doesn't emit on contentEditable after selecting text and triggering with '@' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-mentions.