IO - SteemConnect v2 Boilerplate @0.0.32 - Edit Post feature Ready.

in #iambya6 years ago (edited)

Current Code
/* Edited */
EDIT_POST('', PrimaryTag, Author, Permlink, Title, Body, JSON_Metadata, this.props.dispatch);


Simple enough. Editing a post, is basically the same as creating it. You just need to share your current post, to the edit form, as props. Once you get the current content of the post in your current editor form, just submit a simple API "comment" with the current data. If the post exist, the post will be replaced Edited. otherwise, the post will be created.

Currently Using: React & Redux
Contact Me if you need some help with SteemConnect v2.

Sort:  

Congratulations @iambya! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - Colombia vs England


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Coin Marketplace

STEEM 0.22
TRX 0.27
JST 0.041
BTC 104664.06
ETH 3858.84
SBD 3.32