Git Product home page Git Product logo

Comments (3)

MichaelTaylor3D avatar MichaelTaylor3D commented on June 27, 2024

Thanks for the heads up, Im looking into this now

from c5_designer_content.

mrjcgoodwin avatar mrjcgoodwin commented on June 27, 2024

Can confirm I'm experiencing this issue too - any update?

Blocks I've created using non-wysywig seem to be unaffected by this.

from c5_designer_content.

mrjcgoodwin avatar mrjcgoodwin commented on June 27, 2024

Ok - I think I've sussed the root of the issue, although some who knows what they're doing will have to change the core plugin code and submit to the repo:
(note: I'm currently working on the plugin as per the file uploaded on the C5 thread as the Github one wouldn't install - see discussion for details).

According to the 5.7 docs here https://www.concrete5.org/documentation/developers/5.7/interface-customization/rich-text-editor/embedding-rich-text-editor/

"outputStandardEditor takes two parameters. The first is the name of the form element, and the second optional parameter is any content you want to appear in the text area."

If you go into your created block's edit.php file

Currently DC is outputting fields that look like this:
<?php print Core::make('editor')->outputStandardEditor('field_2_wysiwyg_content'); ?>

and change these lines to:
<?php print Core::make('editor')->outputStandardEditor('field_2_wysiwyg_content', $field_2_wysiwyg_content); ?>

The wysiwyg fields will work :-)

from c5_designer_content.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.