-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Roadmap Questions #31
Comments
Depends if you want to give users control over styling. IMHO they shouldn't be given that amount of control - content and style should always be separate. |
Support for headers? Just one or two levels would be great. |
Tables seem pretty much imperative to allowing this for use outside of a basic comment form. |
@ollym would it be possible to just not allow that though if in a different mode? Something like rules that got applied to certain edit modes. I do see how this could get tedious though. Would be nice though to have a rich text editor with Trix. |
It would be great to see some support for right-to-left languages. Even better: some support for the use of RTL words alongside LTR ones in a line. |
I have an unfortunate feature request: being able to import, preferably via copy & paste, content from a Word document which would then be formatted into the equivalent structures in trix. |
@fusion2004 Have you tried copy+pasting from Word? If so, what does or doesn't work? |
@javan I haven't tested extensively, but a quick test shows that lists are not being formatted correctly when you paste them in. They seem to be pasting over as just text with mid-dot and circle characters and spaces, as opposed to translating into actual lists. The first two screenshots are the source document, the second two are the resulting formatting in trix: http://imgur.com/a/RDDoX |
@fusion2004 one needs to do a lot of cleanup / normalization of the markup that you get from word. I guess this is probably best done as an explicit action with a filtering process even though it would be nice if it happened magically. (for reference take a peek at all the terrible things ckeditor does for paste from word functionality: https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/pastefromword/filter/default.js) |
First off just wanna say this editor is awesome! I'm impressed by all that it does already. Some cool features I'd like to see:
p.s. @ollym i got a decent trix html to markdown reverse thing going pretty quickly using https://github.com/domchristie/to-markdown and a little bit of post-processing (e.g. unwrapping |
@a-warner yea there are a load of html -> markdown processors but it's just not quite the real thing. Been looking for a simple markdown / html wysiwyg editor that just does html markup for a while. The main problem is wysiwyg products rapidly integrate styling which isn't markup, so supporting markdown becomes a bit of a 3rd party citizen in itself. EDIT I really hope trix doesn't go down the same road |
Would love the ability to insert check boxes in the editor. Check boxes plus the existing strike-through formatting enable you to have a very cheap to do list solution. Similar to what Evernote provides, for example. |
Wrap text intro tags, so I can use pseudo-classes/elements as :first-child, :last-child, ::first-letter, ::first-line |
Would love the ability to add your own custom styling elements. You can sort of do it by modifying |
I'd love to see some autocomplete features built-in, so you can do @-mentions as well as emoji expansion. The GitHub editor does well on this, and it's immensely useful! |
Code editing: represent code as nested blocks according to user preferences. Showing code as html instead of textarea allows much richer visual hinting, e.g. font size, shadows, borders, images etc. Converting code to a more visual format allows you to see it according to your own preferences without having to reformat the actual code (and suffering the git merge mishaps). You could even show and write javascript much like coffeescript by automatically adding parens etc depending on indent level. Take any js code and edit it while it looks like coffeescript… |
|
@javan awesome! can't wait to try it out |
@a-warner, Trix does dispatch a It's undocumented at the moment because we're still feeling it out. Feel free to report back. |
Markdown support would be cool, but I hope Trix also can support BBCode in the future. Please take a look at SCEditor, I like how you create your own plugins: |
I would like to add another vote for the ability to attach/embed arbitrary HTML code (or to document it if it already exists), my two use cases would be :
Thanks for a great editor. |
@ollym @a-warner @MadSpindel |
@mkurz that's actually quite cool. Would much prefer an inline toolbar like the one trix provides, and also as a framework trix seems a lot lighter than CKEditor. A markdown editor is rapidly approaching our roadmap, so we might make a start at developing this as a trix plugin, if that's even possible !? |
Markdown and textile are appropriate for minimal formatting (comment box), but if you want to use this for documentation, they're just not rich enough. Tables are imperative for myself, as are the full suite of font formats. React integration would be amazing and |
I wrote an angularjs directive for trix editor. https://github.com/sachinchoolur/angular-trix Great work btw :) |
Yea, I was surprised with your approach of closing all separate tickets and redirecting everything here. Maybe a better approach would be to create a milestone or a label, and put various tickets under that. |
@mitar The issues are mostly labeled now and we're working towards a 1.0 milestone (not a complete feature list yet). |
Thanks for the underline tip @javan that's now working. |
Thanks Javan On 19 January 2016 at 15:43, Javan Makhmali notifications@github.com
|
Basecamp: "We made a simple HTML5 text editor." |
@jabbett ❤️ |
Only thing keeping me from using trix right now is the inability of styling text (font, text color & background color). |
Yes, I can now see the argument for not providing underline support makes sense. Basic styling of text as per @adamtal3 is, as he says, a pretty basic need though. Can this not be implemented without losing the lovely simplicity? Seems it should be able to be. |
Here's an example of adding a custom underline button / attribute: http://codepen.io/javan/pen/EPqzZo. The same technique can be used to add any style like color, font, etc. |
@javan Hi Javan, is this still relevant? It used to work fine in the app and suddenly nothing happens when the user clicks on the Trix.config.textAttributes.underline = {
style: { "textDecoration": "underline" },
inheritable: true
} |
@adammiribyan, Trix 0.9.6 changed toolbar button attributes from |
I would love to see some autocomplete built-in for @mentions, now I use https://github.com/yuku-t/jquery-textcomplete for that and have problems when pressing ENTER! Thanks for the example code of adding underline button and attribute. |
I opened #284 for mentions. To be able to discuss it there and find some workaround to support it. |
You can attach an image and save it. Between the text. |
Hi all, first off thanks for the great work. Reading #78 I didn't quite get why support for header tags was abruptly dropped. Anything specific? Willing to contribute work on the feature :) |
@javan in your Codepen examples for underlined text, it seems like the initial value should be underlined, but it's being rendered with the wrapping span and underline style stripped out in both the editor and the hidden input. |
@mattclough1 are you seeing something other than this? |
@javan this is what I see without changing anything |
@javan I've been looking at it in Chrome. Seems to work in Safari and Firefox actually... |
@javan think I got it. In Chrome |
👏 |
Tables yes? |
Your friendly neighborhood magnet issue for "is X coming?" and "what about Y?"
Questions so far:
The text was updated successfully, but these errors were encountered: