Give visitor page edit access

All Quick 'n Easy Web Builder support issues that are not covered in the forums below.
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Give visitor page edit access

Post by Pablo »

You did not enable font-size button on the toolbar of summernote. So, that is why the table has a 'random' font.
You can use the 'Editor settings' properties to customize the toolbar:
https://summernote.org/deep-dive/#customization
Or you can switch to 'HTML' mode (in the summernote) and set the fontsize manually.

Image

The table does not have a border. The outlines in the editor are just there to help you see where the cells are.

Note that this is related to how the summernote editor works, not to QWB.
I did not create summernote myself, so I have no control how it works. But I think it's very powerful so that is why it's one of the supported editors.
alex4orly
Posts: 321
Joined: Thu Jul 23, 2020 9:34 am

Re: Give visitor page edit access

Post by alex4orly »

Dear teacher,

I know it is NOT a WB issue and 3rd party tools are provided AS-IS.
But, maybe you can instruct me : https://nmaa-rc.org.au/adminedit.jpg

See the difference in that image between how it looks in the editor compared to the html result.
What is all the EMPTY white space on the right, in design mode in WB I don't have it

what can I do to fix that?

Thanks again
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Give visitor page edit access

Post by Pablo »

The editor can only edit the content, not the 'container' of the object.

There is white space because the table is not set 100%.
You will need to enable the 'html' button of summernote to change this.
alex4orly
Posts: 321
Joined: Thu Jul 23, 2020 9:34 am

Re: Give visitor page edit access

Post by alex4orly »

OK, I went through the documentation, how do I enable the html button? Can't figure it out.
Thanks
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Give visitor page edit access

Post by Pablo »

Something like this:

Code: Select all

  toolbar: [
     ['view', ['fullscreen', 'codeview', 'help']]
  ]
alex4orly
Posts: 321
Joined: Thu Jul 23, 2020 9:34 am

Re: Give visitor page edit access

Post by alex4orly »

OK, I added it and when I view the html code, all I see is this:

Code: Select all

<table style="font-family:Arial;font-size:13px;color:#000000;" class="table table-bordered"><tbody><tr><td><b style="">Membership</b></td><td><b>MAAA</b></td><td><b>VMAA</b></td><td><b>NMAA</b></td><td><b>Total Fee</b></td><td><b>Associate</b></td></tr><tr><td><b>Senior</b></td><td style="text-align: right; ">$190.00</td><td style="text-align: right;">$39.00</td><td style="text-align: right;">$110.00</td><td style="text-align: right;">$239.00</td><td style="text-align: right;">$110.00</td></tr><tr><td><b>Pensioner</b></td><td style="text-align: right; ">$90.00</td><td style="text-align: right;">$39.00</td><td style="text-align: right;">$80.00</td><td style="text-align: right;">$209.00</td><td style="text-align: right;">$80.00</td></tr><tr><td><b>Junior</b></td><td style="text-align: right; ">$45.00</td><td style="text-align: right;">$12.00</td><td style="text-align: right;">$20.00</td><td style="text-align: right;">$77.00</td><td style="text-align: right;">$20.00</td></tr><tr><td><b>Non-Flying</b></td><td><br></td><td><br></td><td align="right"></td><td style="text-align: right; ">$20.00</td><td style="text-align: right;">xxxx</td></tr></tbody></table><div style="font-family:Arial;font-size:13px;color:#000000;"><div style="text-align: right;"><br></div>
</div>
How do I set the table to 100%?

Thanks again
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Give visitor page edit access

Post by Pablo »

Add "width:100%" to the style section of table.
alex4orly
Posts: 321
Joined: Thu Jul 23, 2020 9:34 am

Re: Give visitor page edit access

Post by alex4orly »

OK, this works now fine.

But something stranage : https://nmaa-rc.org.au/memberfees.html
The editor shows a setup for line height, but I can't figure out how to use it, to space out the rows

Cheers
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Give visitor page edit access

Post by Pablo »

To add spacing between the rows you can use padding.
This also require changes to the HTML.
alex4orly
Posts: 321
Joined: Thu Jul 23, 2020 9:34 am

Re: Give visitor page edit access

Post by alex4orly »

If so, what is the "T" button in the editor?
Any hint on how to add padding in the html?

Cheers
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Give visitor page edit access

Post by Pablo »

There is no dedicated option for this in SummerNote.
You will need to add the padding via the HTML view of the editor.
https://www.w3resource.com/html/attribu ... ribute.php
alex4orly
Posts: 321
Joined: Thu Jul 23, 2020 9:34 am

Re: Give visitor page edit access

Post by alex4orly »

It seems however that it effects both , horizontal between cells and vertical between lines.
I only want to do it between lines, any other way?

Thanks
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Give visitor page edit access

Post by Pablo »

In that case, you will need to use CSS padding.
For example:

Code: Select all

style="padding:10px 0 10px 0"
Please note that I cannot give support of coding. This is not specific to QWB.
alex4orly
Posts: 321
Joined: Thu Jul 23, 2020 9:34 am

Re: Give visitor page edit access

Post by alex4orly »

Yes, that should work

Thanks again
alex4orly
Posts: 321
Joined: Thu Jul 23, 2020 9:34 am

Re: Give visitor page edit access

Post by alex4orly »

I created a new page, password is password
https://nmaa-rc.org.au/adminedit21.php

But, when I save the page, only a .json file is generated, not a html page

How can I fix this?

Thanks
Post Reply