RE: Steemit Condenser Contributions: Creating and loading template from the post editor

avatar

You are viewing a single comment's thread:

Open the browser inspector, what variables to you see in the localstorage for your domain?

Posted using Partiko iOS



0
0
0.000
10 comments
avatar

My limited technical skills might show here, but I don't see anything there for local storage.

image.png

0
0
0.000
avatar

have access to a computer now so will check on your site directly

0
0
0.000
avatar

First, you need to merge my other PR for 3speak that fixes few bugs:
https://github.com/steemit/condenser/pull/3675

As for the templates, it seems like there are some issues after your merge. My code cannot see the tags anymore.

Do you have a git repo for your site?
The issues seems to come from the file:
src/app/components/elements/ReplyEditor.jsx

userTemplates.push({
  name: nextProps.postTemplateName.replace('create_', ''),
  beneficiaries,
  payoutType,
  markdown: body.value,
  title: title.value,
  tags: tags.value,
});

tags.value does not exist

0
0
0.000
avatar

You need to expand that "Local Storage" by clicking on the arrow on its left, then click on your domain name (should be first)

0
0
0.000
avatar

lol sometimes I miss the most obvious things

image.png

0
0
0.000
avatar

I just pushed a new commit, can you try merge it back to your code?
https://github.com/quochuy/condenser/commit/44ab51fb8ad2348ea399b25c1d682e907848259d

0
0
0.000
avatar
(Edited)

Awesome! Looks like that commit change made it work. Thanks for all your help with this and for creating it in the first place. This is a great feature. Anything we can do to help support you more?

image.png

0
0
0.000
avatar

Only partially. You might not be able to save the tags into the template. It seems your version of the condenser is a bit different.

Don’t forget to also merge my 3Speak fixes.

Posted using Partiko iOS

0
0
0.000
avatar

Gotcha. I'll have my dev take a look at it as well to see if there is anything we can do to fix that.

I brought in some of the 3speak fixes. The embed player seems to be working. I'll have to wait for him to take a look at those as well to confirm/fix any errors I made.

Thanks again :)

0
0
0.000
avatar

Cool. When debugging the templates on your site, I noticed my changes for 3Speak was outputting warnings. This should be handled by the new PR.

Take care

Posted using Partiko iOS

0
0
0.000