简体   繁体   English

具有“保存草稿”功能的开源文本编辑器吗?

[英]Open source text editor with a “save draft” feature?

Our current Rails application is using jwysiwyg for our text editor but it is not very feature rich. 我们当前的Rails应用程序正在将jwysiwyg用于我们的文本编辑器,但是它的功能并不十分丰富。 We want: 我们想要:

  • User to be able to save their work and return to it later if necessary. 用户可以保存其工作并在必要时稍后返回。 A "Save draft" feature similar to what Wordpress uses would be great. 类似于Wordpress使用的“保存草稿”功能会很棒。
  • Upload images from their hardrive rather than have to copy and paste an image URL. 从其hardrive上传图像,而不必复制和粘贴图像URL。

What options are out there that will provide us with these two features? 有哪些选项可以为我们提供这两个功能? Is it possible to expand upon the currently existing jwysiwyg? 是否可以扩展现有的jwysiwyg? Or would we have to go with an alternative option? 还是我们必须选择其他选择? We are currently using wysiwyg through Javascript integration but we are open to a Rails Ruby gem alternatives as well. 我们目前正在通过Javascript集成来使用所见即所得,但我们也对Rails Ruby gem替代品持开放态度。

My answer to drafts is that they are really versions... so a version control system is really what you want. 我对草稿的回答是它们确实是版本...因此,版本控制系统才是您真正想要的。

Nowadays that's usually a distributed one such as git. 如今,通常是分布式的,例如git。

I would get into the workflow of using git and have that be your process for drafts. 我将进入使用git的工作流程,并将其作为草稿流程。

So use an IDE that supports DVCS, for example Eclipse can include git support. 因此,请使用支持DVCS的IDE,例如Eclipse可以包含git支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM