GithubHelp home page GithubHelp logo

Comments (11)

s-kris avatar s-kris commented on May 23, 2024 1

It's working now.

from lesspod.

Rajan avatar Rajan commented on May 23, 2024

The new post should be created only after there is some data. Clicking on the "New post" menu should only bring up the page. The creation happens when someone clicks on the "Save Post" button.

from lesspod.

Rajan avatar Rajan commented on May 23, 2024

I noticed that it's not really working locally somehow. Checking it.

from lesspod.

anurag-git avatar anurag-git commented on May 23, 2024

I also tried not working. How to get debug logs. I don't see anything on console.

from lesspod.

Rajan avatar Rajan commented on May 23, 2024

The problem seems to be with editor binding with quill-editor tag. It is not reflecting in the vue data and hence it is failing.

from lesspod.

Rajan avatar Rajan commented on May 23, 2024

@anurag-git I just disabled the Image_Resize options and it works. The problem still lies with the image_resize options with our vue-quill-editor. Hence it is not yet solved.

from lesspod.

Rajan avatar Rajan commented on May 23, 2024

@s-kris can you pull 3aa863f the new post should work.

from lesspod.

Rajan avatar Rajan commented on May 23, 2024

Root cause of this issues is #30

from lesspod.

Rajan avatar Rajan commented on May 23, 2024

@anurag-git can you help with #30 without breaking newpost?

from lesspod.

anurag-git avatar anurag-git commented on May 23, 2024

@Rajan Let me take new changes and then try. Can you explain what has to be done now, after my fix was not reverted(or not working as expected)

from lesspod.

Rajan avatar Rajan commented on May 23, 2024

If you look at editorOptions in Newpost.vue, we're having to comment resize options.

editorOption: {
        modules: {
          toolbar: [
            [{
              'size': ['small', false, 'large']
            }],
            ['bold', 'italic'],
            [{
              'list': 'ordered'
            }, {
              'list': 'bullet'
            }],
            ['link', 'image', 'video']
          ],
          history: {
            delay: 1000,
            maxStack: 50,
            userOnly: false
          },
          imageDrop: true
          // imageResize: {
          //   displayStyles: {
          //     backgroundColor: 'black',
          //     border: 'none',
          //     color: 'white'
          //   },
          //   modules: ['Resize', 'DisplaySize', 'Toolbar']
          // }
        }
      }

Because uncommenting it makes the editor fail. Need to understand 'Why' is this happening (look into ../main.js) and fix it.

from lesspod.

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.