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

After saving Snippet can not be edited #14

Open
nestordedios opened this issue Oct 28, 2020 · 0 comments
Open

After saving Snippet can not be edited #14

nestordedios opened this issue Oct 28, 2020 · 0 comments

Comments

@nestordedios
Copy link
Contributor

I'm using the following configuration to insert a row with an image and text into a section.

I'm using the following configuration.

The problem is after I have saved the content of this Snippet I can no longer modify it's content in the Article editor.

default:
  plugins: [ snippets, blockcode, buttonlink, definedlinks, inlineformat, reorder, tags, underline ]
  source: true
  grid:
    classname: 'article-grid'
    columns: 12
    patterns:
      '1|10|1': 'col-1|col-10|col-1'
      '4|4|4': 'col-4|col-4|col-4'
      '4|8': 'col-4|col-8'
      '6|6': 'col-6|col-6'
      '8|4': 'col-8|col-4'
  layer: false
  codemirror:
    lineNumbers: true
    mode: xml
    htmlMode: true
  snippets:
    section:
      name: "Sectie"
      html: |
        <section class="mb-xxl mb-lg-xxxl">
                    <div class="container px-sm-m px-lg-l">
        </div>
        </section>
    2-kolomen-tekst:
      name: "2 kolomen tekst"
      html: |
        <div class="row">
           <div class="col col-lg-10 offset-md-1">
               <h2 class="mb-xl">Titel (10 kolommen breed)</h2>
               <h3 class="mb-m">Een Ondertitel</h3>
           </div>
        </div>
        <div class="row">
            <div class="col-6 col-sm-12 col-md-5 offset-md-1">
                <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Idem iste, inquam, de voluptate quid sentit? Quid me istud rogas. Duo Reges: constructio interrete. </p>
            </div>
            <div class="col-6 col-sm-12 col-md-5">
                <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Idem iste, inquam, de voluptate quid sentit? Quid me istud rogas. Duo Reges: constructio interrete. </p>
            </div>
        </div>
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