Comments (13)
I'm looking at implementing wysiwyg for a "news page" editor for my site, so my CEO and marketing people can easily create and format new news release articles on our site.
Lack of an "html code editing" mode is a dealbreaker for me too, here. This is a basic feature of a wysiwyg editor, it's a glaring omission from Trix, please reconsider putting it in your development roadmap. Until then, I'll be using another tool.
from trix.
Trix tightly controls the HTML it generates and that control is, in part, what allows such a reliable editing experience. Any outside mutations cause Trix to immediately reparse the HTML and render its own version, and for this reason Trix will likely never support a raw editing mode.
You could look into post-processing Trix-generated HTML to prepare for emailing. We're happy users of https://github.com/Mange/roadie for that.
from trix.
2023
Trix still has no ability to edit raw html
from trix.
2024 and still can't edit raw html
from trix.
July 2024, no raw HTML. Would the maintainers be open to adding this feature? I can write a PR.
from trix.
NEED RAW EDITION
from trix.
→ added to Roadmap Questions list!
from trix.
Since the mega-thread #31 was closed because it became unmanageable (saw that coming!), I'd like to see this ticket reopened. It hasn't been addressed, even to indicate whether or not it's something the project would like to have.
To me, it seems like a pretty core feature that every other WYSIWYG editor has. Power users can really benefit from having it.
I'd like to try using Trix for our tool that's used to draft emails. But the nature of HTML email is that you must customize the HTML. Inline styles, for example, are a necessary evil. If the author can draft their message, and then copy/paste out to a tool that converts a <style>
block to inline styles and then paste the content back into their message, that would work well.
from trix.
from trix.
<h1>asdasd</h1>
from trix.
I ended up just using CKEditor instead.
from trix.
Did the same 😂
from trix.
July 2024, no raw HTML. Would the maintainers be open to adding this feature? I can write a PR.
They probably won't because basecamp doesn't need it.
from trix.
Related Issues (20)
- Backport CVE-2024-34341 to trix v1 HOT 8
- Is there a way to reinitialize the instance of trix? HOT 1
- Ability to convert an image file before upload HOT 11
- Deprecation of DefaultProps HOT 3
- Version 2.1.1 is removing the img from previews HOT 4
- Support for embedded attachments with expiring url? HOT 2
- Problems with trix sanitization HOT 1
- 在块级元素上设置class或style属,插入编辑器中无效
- Function getClientRectAtPosition produces incorrect results
- Autofocus can not be disabled in Node/ExpressJS and EJS
- Issue with rails hotwire trix textarea resize
- Trix Text Display challenge
- How to insert text into editor after menu button is clicked?
- Uncaught TypeError: element.editor is undefined
- Upload to Active Storage when paste images with CTRL + V HOT 1
- Code samples in official documentation work for 1.3.1 but not for 2.1.3
- How to clone Trix default link button, so I have modal and insert text into editor?
- Inconsistent breaks when pasting content with format due to CSS margin setting
- When using the Trix editor with Rails' Turbo Frames, attempting to insert/edit any hyperlinks after the first doesn't render the link properly
- Trix no longer adds dataset attributes on inserted attachments in 2.1.4 HOT 1
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 trix.