Skip to content

Tags are not being applied to my Video Post #3846

Closed
@omenking

Description

@omenking

So here I published a post with tags:
Screen Shot 2019-08-26 at 4 08 36 PM

Here no tags appear:
Screen Shot 2019-08-26 at 4 08 41 PM

Editing does not remedy the missing tags

Activity

Zhao-Andy

Zhao-Andy commented on Aug 30, 2019

@Zhao-Andy
Contributor

Sorry, just seeing this now! I switched the description and tags position and it seemed to work. Might be a weird front matter parsing issue.

omenking

omenking commented on Aug 30, 2019

@omenking
ContributorAuthor

No worries. What a funny fix. But if its works can't complain eh.

araslanov-e

araslanov-e commented on Oct 4, 2019

@araslanov-e
Contributor

@Zhao-Andy Is the problem relevant?
Now a new form
image

Zhao-Andy

Zhao-Andy commented on Oct 4, 2019

@Zhao-Andy
Contributor

@araslanov-e I believe it is still an issue. To clarify, we have two versions of the editors:

  • v1 which is the editor that uses front matter, and I think the default editor for video uploads
  • v2 editor which is the editor you posted a screenshot of

If you're trying to reproduce this, I think you can simply try to reproduce in development with the v1 editor, and don't need to attempt a video upload in development. To change your editor settings, visit /settings/misc and update your editor version to v1.

araslanov-e

araslanov-e commented on Oct 6, 2019

@araslanov-e
Contributor

@Zhao-Andy
Problem №1 - after description space is lost https://github.com/thepracticaldev/dev.to/blob/master/app/services/article_with_video_creation_service.rb#L39
For example

"body_markdown":"---\ntitle: Unpublished Video ~ 3djn\npublished: false\ndescription:\ntags:\n---\n\n"

Problem №2 - https://github.com/thepracticaldev/dev.to/blob/master/app/labor/markdown_fixer.rb#L58 invalid regexp https://rubular.com/r/d48NKsmxIWml6B

I'm trying to solve the second

araslanov-e

araslanov-e commented on Oct 6, 2019

@araslanov-e
Contributor

@Zhao-Andy solved №1 - #4258

4 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: publishing experienceissues related to an authors experience publishing. Tags, series, etc.bugalways open for contributionexternal contributors welcomecontribution is welcome!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Tags are not being applied to my Video Post · Issue #3846 · forem/forem