Plugin Directory

Changeset 2026152


Ignore:
Timestamp:
02/06/2019 07:55:02 PM (7 years ago)
Author:
willdelphia
Message:

Bug fix

Location:
ace-html-block/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ace-html-block/trunk/aceblock.build.js

    r2025630 r2026152  
    2314423144
    2314523145    save: function save(props) {
    23146         return el(RawHTML, null, props.attributes.content);
     23146        return wp.element.createElement(
     23147            RawHTML,
     23148            null,
     23149            props.attributes.content
     23150        );
    2314723151    }
    2314823152});
  • ace-html-block/trunk/aceblock.js

    r2025630 r2026152  
    9898                    width="100%"
    9999                    wrapEnabled={true}
    100                     minLines = {3}
    101                     maxLines = {Infinity}
     100                    minLines={3}
     101                    maxLines={Infinity}
    102102                /> );
    103103    },
    104104
    105105    save: function( props ) {
    106         return  el(RawHTML, null, props.attributes.content);
     106        return  <RawHTML>{props.attributes.content}</RawHTML>;
    107107    }
    108108 }
Note: See TracChangeset for help on using the changeset viewer.