Rich text formatting in Databases

Some of my changes in the wysiwyg editor aren’t sticking, and I have no idea why.

I can change font size, no problem. But changes to line spacing, from auto to custom, just aren’t sticking.

I’m changing to custom 1.7em:

If I check the html, the code seems correct:

But then I go back to the editor and the change has disappeared; it’s back to automatic:

I’ve tried editing live data (where there’s no option to save or publish), and editing sandbox data, where I can save before leaving the editor. No joy.

I’ve also tried removing all text styling and starting again. No joy.

I’ve also looked for an interface where I can edit the Paragraph styles in Databases (because the styles don’t match the styles in my template) but can’t see anywhere I can change this.

I’m not a coder, so hoping this can be done through existing Wix tools and interfaces.

Thanks in advance for anyone who can help!

2 Likes

Hey! That seems odd. Could you provide us with more information about the browser you’re using? We need to investigate what might be an issue.

Yeah! I have exactly the same problem. Is there a fix yet?

Hey @Adas, I don’t seem to have received a notification that you asked this question. The browser is Chrome, Version 67.0.3396.87 (up to date) on Mac OS High Sierra 10.13.4.

Justin, I’m sorry you’re having the same problem! It’s frustrating.

Adas, in particular I’d love to know how to match the style sheets in Databases (RTF) with the style sheets in my Wix template…

I have the same problem as well. After I tried to change the font, size, color… and so on, it changed to default after a click

Hi,
Please can you help me to resolve this issue.
How can I click on a line in a table to have the information in “input” fields so that I can modify them?
Knowing that when I click on (ex: 3rd line or 10th line), I always have the information of the first line!!!

Thanks in advance.

There is a trick with Tables. All you need to have is a single dataset for what you want to have in table, just make sure that dataset is in “Reand & Write” mode. Then, connect this dataset to table and all input components. Then, whatever row you click in a table, it changes the Current Item of a dataset, thus prefills the input fields with data of that specific item.

@adas-bradauskas
Hi Adas,
Many thanks for your answear, but always the same issue when I click on any rows in the table, the “input” fields in last page give me always the first line of table.
*The dataset is in “Read & Write” mode.(Done).
*Table connected.(Done).
*All Input connected.(Done).

You can find below a link for testing site, Please.

https://popeyeclubtn.wixsite.com/table

Thanks Again.

@popeyeclubtn , checked your site. My solution assumed that both table and input components are on the same page AND connected to the same dataset.

If you want to keep them on separate page, you can do the following:

  1. Create a dynamic item page with pattern such as “…users/{Title}/Edit”
  2. Make sure the dataset is set to “Read & Write”
  3. In another page, add table, connect to dataset, and in Table settings, on Title field add a link and set it to this newly created dynamic page.

0 lines of code needed.

@adas-bradauskas
Hi adas,
Many many thanks Adas. It’s work perfect!!.
Thanks again.

My apologies Adas, but can I ask you how to create a search field for my table. I want to write the first word and then, can I see on my table the result.
Thanks in advance.

@popeyeclubtn , I would start here: Wix Code | How to Create a Search for Your Database - YouTube. :slight_smile: