📜 ⬆️ ⬇️

Saving draft articles for Habr

A week passed after I announced my project Habra Editor and, to my surprise, I received a very large number of positive reviews and correct suggestions.

Most of the proposals were immediately implemented, among them transliteration, typographical symbols, solving the problem with tags, fixes bugs, polishing the interface. And although I am summing up, this post will mainly be devoted to the main innovation of the editor - the preservation of drafts.

I wrote this article for several days. While I was working on it, I had to insert several links, make more than a dozen links to habrauers, format the ul-list, I had to leave the text, go to another city, I edited the text there, then returned and continued editing it in the same place . And I have never encountered hangs, loss of text, it was convenient and comfortable for me to type and typeset this text, I did not forget about habracut (although I did not remember about it). And most importantly, I had the opportunity to save the text and load it for editing in a completely different place. I hope that this approach will appeal to many other editors of Habr. I do not promote this project, I would like to promote the approach to the creative writing process for Habr by making writing interesting articles an interesting process.

What is it?


For those who missed the announcement of this project, I recommend to follow the link and read. There, the text and comments describe in some detail what kind of editor it is and for what and who it is needed.

Acknowledgments


First of all, I would like to thank everyone who commented on this project, left a review, made a proposal.
Here is a list of those to whom I am especially grateful:

Many thanks to the following users:
silentroach , denton , SaveTheRbtz , anycolor , kashey , Alaunquirie , zerkalka , xain , pudovkin
')

Introduction


On Habré, I managed to write several articles and I can say I tried out a standard interface for preparing an article. It is preparation, because, for example, this article uses more than a dozen tagged words and sentences. To impose such articles becomes more difficult, the larger the size of the material. It can get worse when the source code is present in the material.

Very often, you have to write articles in parts, it is more convenient, you can allocate your time, you can collect material. On Habré there is an opportunity to save the typed text, but who tried, he knows that saving de facto means publishing, only hidden. That is, your saved article will be assigned a time of creation and, when you publish it, it will be in the list exactly at the place where it could be at the time of the first saving. This means that if you wrote an article for three days, then at the time of publication no one will see it, because it will be in the feed for posts somewhere in the 100th place.

Layout and saving the article on your computer, through word or some other editor can be a way out of this situation. If anyone tried to typeset text for Habr in a word, it can be said that, to put it mildly, is not very convenient. I like to write articles on Habré and therefore I did Habra Editor, I need drafts and now I present them to you.

Drafts


Each HabraReditor user is given the opportunity to register his user, each such user will be assigned 4 save slots for drafts, which are schematically called CMYK. Creating a user is not burdened with either a confirmation or an email. You simply enter the login and password, press the button and immediately get 4 slots for drafts. I am sure that 4-eh slots are more than enough for each editor of articles on Habré. But if not, then you can easily register a dozen more users by getting 40 slots.

Conclusion


Habra Editor is developing, I tried to fulfill most of the wishes and correct all the errors that the above users found. I think that the main useful element will be the preservation of drafts, which will allow the authors of articles to engage in creative work as they themselves wish. Well, and other introduced elements greatly facilitate the writing of the text. For example, replacing tags with corners in selected text with codes is a thing that only a person who has tried to remake at least a dozen of tags can feel useful.

Like last time, I hope for user support, suggestions, comments, and error indications. Let's make authorship on Habré a convenient and interesting process together.

Source: https://habr.com/ru/post/27805/


All Articles