[wp-trac] [WordPress Trac] #43620: Privacy Policy page design

WordPress Trac noreply at wordpress.org
Wed Apr 18 23:08:23 UTC 2018


#43620: Privacy Policy page design
------------------------------+---------------------------------
 Reporter:  melchoyce         |       Owner:  xkon
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  4.9.6
Component:  General           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  gdpr needs-patch  |     Focuses:  ui, administration
------------------------------+---------------------------------

Comment (by azaozz):

 Replying to [comment:25 xkon]:
 > Now I'll say this just for a heads up. The Copy button that uses
 `selectRange()` seems seriously messed up to me and I can't find a way to
 make it copy only the 'content'. If you paste in the `Text Editor` you're
 fine, but if you paste on the `Visual Editor` you're getting the `<div>`
 holders as well and that might/will probably break up front-ends.
 >
 > If anyone can help on that matter it'd be great, if not I'm still in
 favor of removing it completely instead of giving random headaches :)

 Yeah, think we can "fold" the individual text sections by setting `height:
 100px;` or similar on the wrapper div. That way we won't have to insert
 "foreign" elements in the middle of the text added by plugins. The part
 with the folding link can be absolute positioned to the bottom.

 Also thinking the folding can work by adding and removing a class on the
 wrapper, no need of all the extra markup. I'll try that tomorrow :)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43620#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list