Giter VIP home page Giter VIP logo

paperbits-core's People

Contributors

antonioiodice-reply avatar atuannguyen1101 avatar azaslonov avatar f-alizada avatar jmach1 avatar jpoehnelt avatar malincrist avatar matteomeroni avatar mielek avatar rproserpio avatar ygrik avatar ykrytsyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

paperbits-core's Issues

Integrating Paperbits with Next.Js

I have been exploring the integration of Paperbits with Next.js, with the aim of leveraging Paperbits' editor to design pages using registered components. In my initial progress, I successfully opened the Paperbits editor within my Next.js application and utilized it to design pages with the registered components. However, it is important to note that I was only able to achieve integration between Paperbits and Next.js to a certain extent by using compiled paperbits code, necessary for opening the editor, in Next.js.

I have encountered a challenge when it comes to integrating the changes made to the Next.js pages using the editor. These changes are stored in demo.json file, which Paperbits utilizes to serve the website in publish mode. The difficulty arises from the differing logic employed by Paperbits and Next.js for their respective publish and build modes.

Additionally, I would like to inquire if there is a way to integrate Paperbits' webpack configuration into my Next.js application. This would help ensure a seamless integration between the two frameworks.

Given this situation, I would greatly appreciate your assistance in guiding me on how to proceed further in this case. I am seeking a clearer understanding of the steps required to achieve successful integration between Paperbits and Next.js, including any necessary adjustments to the webpack configuration. Thank you for your support.

Paperbits Django

A lot of people loved Wix as it has a fluid UI.
Wordpress has elementor but it has a block UI not a fluid UI like Wix
Django has Django CMS with inline edit but not a fluid UI like Wix

if you can fork DjangoCMS and provide it as a paid package which works like Wix UI on Django
You can target the super fast growing python community
https://www.tiobe.com/tiobe-index/

Not sure if SvelteKit can be used for DOM-less fluid UI building
but anything is better than nothing...

Hosting paperbits on sub path

Im trying to use this wonderful library in my project. Basically my app is running on following url.

https://mydomain.com/

I want to do following 2 things

  1. Run published website on sub path, like https://mydomain.com/mysite1
  2. Run designer on sub path, like https://mydomain.com/sites/mysite1/designer

I replaced default PermalinkResolver and MediaPermalinkResolver to prepend /mysite1 in front of urls during publishing so now published site works partially on sub path /mysite1

I'm serving designer assets on https://mydomain.com/sites/mysite1/designer which works partially

I can replace, permalink resolver, blob storage, object storage to use my custom backend.

But problem is:

  • Event some components are replaced to handle the extra subpath, still designer is unable to load some data, like block-snippets.json, etc because those are hard coded in paperbits/constants.ts file, so what Im doing is replacing all occurences of those constant url path strings in paperbits.js file dynamically.
  • I configured /data/demo.json path to be relative to the subpath correctly, and designer loads, but it says page not found error on initial load. I suspect something has to do with the path, like /mysite1/wiki/getting-started is not being resolved to /wik/getting-started
  • When I click on individual pages in the pages widget, page are shown, but their url is relative to root path, like /wiki/getting-started instead of /mysite1/wiki/getting-started

So the question is what is the best way to achieve this? (Running published website and designer or arbitrary dynamic subpath)

Thank you

Change Port

I am having trouble finding where you declare the port to listen on.
When I run npm start it runs but I need the port to be 9000 not 8080.
Any help to point me to the file or location I need to add this?

Textbox widget loses focus after scrolling followed by mouse click

I wasn't sure whether to log this against paperbits-core or paperbits-prosemirror, can't figure out the cause at the moment.

Reproduction Steps:

  • Go to https://demo.paperbits.io/
  • Click on one of the text blocks to start editing the text
  • Observe that you can click anywhere in the text box to re-position the cursor
  • Scroll with the mouse or scrollbar
  • Click on the textbox
  • The text box has now lost focus and you have to close/reopen the editor to access again

Some other details:

  • I've reproduced this in Chrome 75.0.3 and Edge 42.17134
  • Also reproduced it with the Azure API Developer Portal version not just the live demo
  • It's quite an annoying bug if you're editing a large text block

Highlighting text fails on demo

If you go to the paperbits demo site, you cannot highlight text by clicking and dragging. The only thing I am able to highlight is by double clicking to highlight an entire paragraph.

How to boost seo while using paperbits?

Hello, I am using apim devportal, and while editing the page with paperbits, some pages-main page satisfy seo, and some pages are dynamically loaded and do not seem to satisfy seo.

How to enhance seo while using paperbits?

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.