Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RainLab's Blog Text Not Saving When WYSIWYG Editor is Enabled #61

Open
fjcastil opened this issue Feb 18, 2016 · 0 comments
Open

RainLab's Blog Text Not Saving When WYSIWYG Editor is Enabled #61

fjcastil opened this issue Feb 18, 2016 · 0 comments

Comments

@fjcastil
Copy link

RainLab's Blog has two panels when editing or creating a blog post: one for the raw text and the other for the formatted text. As you type the raw text, it formats the text in the preview pane as it would appear when viewing the blog post on the website.

However, when enabling any WYSIWYG editor for RainLab's Blog plugin, it no longer generates the formatted text. Instead, it saves the formatted content in the raw entry field. Here is RainLab's blog post table definition:

rainlab_blog_posts

  • id
  • user_id
  • title
  • slug
  • excerpt
  • content
  • content_html
  • published_at
  • published

The raw text should be saved in the content field and the formatted text in the content_html field.

I personally do not care too much about having the preview pane open while I'm typing. However, upon saving, it should save the formatted text in the content_html field instead of in the content entry field.

Thank you for considering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant