CMS rich text disabled by cms pagination

Hey! My powerful rich text for my CMS rich text is disabled when using finsweet cms pagination. Please see screenshot.

I have all the attributes applied correctly. I can’t share a read-only link unfortunately due to the nature of the project.

hey @jakeschlegel86! This can be solved by reinitializing the Power Rich Text attribute when the user goes to the next page.

Can you add this code to the </body> section of your custom code?

<script>
  window.fsAttributes = window.fsAttributes || [];
  window.fsAttributes.push([
    'cmsload',
    (listInstances) => {
      console.log('cmsload Successfully loaded!');

      const [listInstance] = listInstances;

      listInstance.on('renderitems', (renderedItems) => {
        console.log(renderedItems);
        window.fsAttributes.richtext.init();
      });
    },
  ]);
</script>

Let me know if the issue persists.

Awesome! Thank you. I was trying ChatGPT but it wasn’t working. Will let you know after I try it.

1 Like