Comments (7)
Hello Simeon,
Thank you for accepting my feature request. Some years ago I have made the same feature request for the free WPF RichTextBox from Microsoft which is used by the WPF toolkit on codeplex. It got also implemented and the people liked it so they will like your control when you have implemented it :)
I really vote for the convenience functions ;-) about the rest I agree.
About what UX issues do you speak?
like
"should all other text areas be disabled" when the user has clicked in one certain text area" ? or
"should a "Bold" button have a pressed state when in multiple text areas is selected text and to which text selection does the active Bold button refer" ?
from textangular.
No I was thinking more around if you use multiple toolbars, say if you wanted editor instances 1 and 2 to have ability to toggle HTML then editors 3 and 4 to only have bold/italics then there is the possibility for user confusion on which toolbar is active for my current editor.
I think the best way to deal with this is to make sure that for every state change there is a corresponding class change in all relevant places.
As to your second point, as we use contenteditable areas I don't think you can select text in more than one editor at a time (I haven't tested this thou).
from textangular.
"I don't think you can select text in more than one editor at a time "
True just checked it.
"...then there is the possibility for user confusion on which toolbar is active for my current editor...."
Well I would say I have to operate on the one toolbar placed over the text editor?
from textangular.
"Well I would say I have to operate on the one toolbar placed over the text editor?"
I was getting at this change has the potential to have toolbars placed in funny places relative to editors (for whatever reason). Also even if the toolbars are sensibly placed we'd still want to make a class change to the active toolbar so that the developer can make a visual update via css/js if they want.
In thinking it through, all UX issues that could be introduced can be mitigated by the developer if we put enough transparency and clarity in events being fired.
from textangular.
Yes Yes Yes think it throught you can do it man. If you need free beer lemme know ;-)
from textangular.
How about more time, I could do with that :). In all likely-hood it will take me until Feb 2014 to look into this as I'm on leave very soon. If anyone else does this @fraywing should be able to look into it as a pull request if he gets the time. Otherwise it'll take some time before I start.
from textangular.
Implemented in 1.2.0 branch.
from textangular.
Related Issues (20)
- Dropdown Button in Toolbar angular.
- Firefox toolbar selection issue when typing a new word HOT 1
- Toolbar bold stops working if font-weight is larger than normal (Firefox)
- Triple click error on chrome
- textAngular removes all styling when HTML is copied
- Applying Header format not working when html content copied from email HOT 1
- will remove center class while copy html from email
- while pasting external content cursor is jumping to initial position.
- Android mobile autocomplete error
- Is there any option for font-size?
- Backspace key not working
- Upgraded textangular version as1.5.16 is giving vulnerable version of angular-sanitize
- How do you configure 2 different toolbars in the same project?
- Save changes in HTML-mode HOT 1
- Security vulnerability HOT 1
- TextAngular not rendering button tag HOT 1
- Capture Ng-click event from button inside the texteditor in text-angular HOT 2
- Clicking on the validation bold/italics/underline when no text present in text box. validation is getting triggered HOT 1
- Not able to change Tooltip Text for any control of Rich-Text-Area-TextAngular
- All html tags scape from control
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 textangular.