Code Monkey home page Code Monkey logo

Comments (7)

bastienJS avatar bastienJS commented on May 27, 2024

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.

SimeonC avatar SimeonC commented on May 27, 2024

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.

bastienJS avatar bastienJS commented on May 27, 2024

"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.

SimeonC avatar SimeonC commented on May 27, 2024

"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.

bastienJS avatar bastienJS commented on May 27, 2024

Yes Yes Yes think it throught you can do it man. If you need free beer lemme know ;-)

from textangular.

SimeonC avatar SimeonC commented on May 27, 2024

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.

SimeonC avatar SimeonC commented on May 27, 2024

Implemented in 1.2.0 branch.

from textangular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.