Git Product home page Git Product logo

Comments (9)

FelixINX avatar FelixINX commented on August 21, 2024

Thats not a Plugin problem, this is the WYSIWYG that manage this.

from pages-plugin.

sunilcse24 avatar sunilcse24 commented on August 21, 2024

How to avoid this tags?

from pages-plugin.

bjpayne avatar bjpayne commented on August 21, 2024

@sunilcse24 I was able to fix this by letting the editor add the tags and then go back and add a hidden css class to them. Not ideal, but all I have been able to come up with. Hopefully that helps.

from pages-plugin.

djein avatar djein commented on August 21, 2024

Hi! I probably have problem related to this.
I have a placeholder with default markup. If a page has some placeholder value which I'd like to remove and return to default I can't do this. I have
{% put content %}

{% endput %}
and have no options to clean this field entirely.

Should I open new issue for this? Thanks you in advance

from pages-plugin.

FelixINX avatar FelixINX commented on August 21, 2024

You should not use Twig language in static pages. Where do you put these? {% put content %}

from pages-plugin.

djein avatar djein commented on August 21, 2024

Hi @FelixINX
I am not putting this myself, this is what I see in the page file after attempt to remove placeholder content

my configuration data
==
{% put content %}
<p>​</p>
{% endput %}
==
my page content

I suppose that WYSIWIG replaces an empty string by '<p></p>' and the plugin get this string like placeholder content. As a result I can't return to default.

from pages-plugin.

EngBadr avatar EngBadr commented on August 21, 2024

Of course this awesome plugin , but the editor generate a dummy <br> and <p> tags , it generated once I wrote any page and make my page so bad , I tried to remove it in the code but It still happen
any suggestion!

from pages-plugin.

KirbyFox avatar KirbyFox commented on August 21, 2024

Wish there was some way to disable this annoyance.

from pages-plugin.

daftspunk avatar daftspunk commented on August 21, 2024

This should be resolved when we implemented Froala editor recently. This issue should have been closed as part of that. If Froala is still causing issues, then we need to log a new one with replication instructions.

Fixed by octobercms/october#2005

from pages-plugin.

Related Issues (20)

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.