• Resolved adampetford

    (@adampetford)


    Hello,

    Love your plug in the only issues I have it the rich text editor is not showing just a field to add in text so users can create links or add in embeded code or java script – is there a way I can enable this?

    thank you

    Adam Petford

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hi Adam, glad to help. Are you wanting to display the RTE/Visual Editor, or just want to display the plain textarea for the post content?

    Thread Starter adampetford

    (@adampetford)

    hi Jeff I have sorted that out now thank you – the problem i am now having when a post is submitted the java script is stripped out – example below

    When I add this to the content box

    <script src="https://cdn.jsdelivr.net/npm/publicalbum@latest/embed-ui.min.js" async></script>
    <div class="pa-gallery-player-widget" style="width:100%; height:480px; display:none;"
      data-link="https://photos.app.goo.gl/p3rstofaE6N1xDBg8"
      data-title="Perth 2017"
      data-description="19 new items added to shared album">
      <object data="https://lh3.googleusercontent.com/sgOBfIJI6hJv0h_tgcrODQjJt6mG_SBiIaggai3aJQsMmjymQIErZKp3iPHsGTeqPDTfEoKTxbqpa8NXwvCV8Ci7YrbWT3sh-9qoiiY8FJdy3HN9FoOHFMElnUEobiZTeQ_EZWtO5tw=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/xh4TR7fxpO47zlc65WF_Rxi9AAkSlt-BowQciKbzjfyx1DOhyn5cWNwYUEoJGN4MGq7aPTJzYtGuJnfWKSKVW6vahCW-3BkmnVOiotQBgo9kh7cGHAIynqXV2DKao8BcTPSe04yL_Oc=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/HDs-v5aFiZtyn-Ig5wviSsjz6mqPJCimREPCkZwwGco4LD_-Ld9uxOc7VnFg6BQysvwF3B-jYBhBbNQiKw8TtmtgpzffUZwwfA4FCoWyNINc-FcJB3vpmmUhdJTBwJ-hhRQqWKf1Wjs=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/xDwaJeoRII5xGs9F3u_JuzSmF5_3R-1p8mgskg3pouGssQe0EUP0sqv3g5ynBX3SVVRO5VzJOW93HZN1H7fpOzR0GXf09WHQsJpCYXABkvwPraYgGUKH86-puEKO5C12GAOOHokXjWw=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/YjfjZscAiaUwxh37xYZEnsE3djdTOarV3WVK8YmJHGZol9EkjJA4GLO6920iZGRFYI68XBu0-eXWdc_YlgZ5grYjVh6qO1rBrFzx_5z-_0v_8T-jqmObVKPA1EYx43JSoUMSNnkSueU=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/WiccQsAFZf_W-65SNy4NDJsbgg8cwxenMsc_J_k5wMGNrETA1MiCXxIZplbH0zqe6xt4P_goJjgJK9rNOS9H82oTPSGTG0GD3LfErrcEdlUKVKCXkBn_kLfL83liYAsS7IiL6ss202Y=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/23_Z1QafZbqiS_MQFCDcNx-neybPUOFxbsxU84UfaCnM_HNzILTzj38nLbwh4DwF-umDdvObhkqkEeSW-ggcBIT-Rvab-oVkCG3Gd9IegEwIw7mTWdslz7UNsEJVfysb_4oA1-6Vsj0=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/BvkLYoV2TRTMa87__6N9cA4g3uBfcAMcdSY9rdcozxZr18vH2FHHtC0Ws5q8lneiNOVX2VZjmC8pqWCDHeRZFh2aKzwRhQ0Awn0HAfnWUn7OnXirB-zUqbuKUP8Nym1ZvFDu0DuH3ps=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/rVb0atmiuWt9KvzuBJTLxQ_ZcBPwUp1HRB8Vl9XbH-C0NKDb4KBkdIohouXd1YoCsELgbMZUMNrXUrAHEPLl1nLlNRlVGWVsfWgVz6AYeeK6Lj-vU5MHNBENPdefN-RI07fdFV663ao=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/LMzRPxMu3DCmz8eRYuHhY5hR6RGFzf1_U0G0feQn17MYxyk50WEOmTdf4gnTtj9X11EuQkKdVSL8XGVR12xqYC9XeRCnnPOCABH9r1YyZPg9SdsI_LmppuNZF6IpClVoLEg3fbc-DnU=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/nbStHLpbcv04CWowhE6KvdgllJwtoWJq2guOb6giTS9ejv2Fgn-XrYILVSyWjv6nWJgKxVHqaBKsasUcHS6n-r3WeGzHIsc-sAR7J2Q3Uu3V1ckjO7SZrZXpp0Xoz1H4lWZHTLax8ck=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/4uH2w3ezmgU_t00_NgbVM9ZAaAWMIFAHAO1caQCLui8xC0-VMLrRqMLI3gUxe-DAKG95cpHYSABPME7F4cThsFMD4BsA5YtNIg5Podc3cvNHZBlIk265V4p9bzp5a69u_XBBN5EQ1G4=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/od9KNKUMEOjtt3Tizw8OQygp4WFB3xxHRecCvsKT6Vw1kHrYSk8WaANKaLXK7pSXSRoMPOu8w0ztL-s30ScxVw1tDlY8ldHCLpI-L3TfPSEms9oXq_M1OveQkSjOg9JeiEPzZkrb53I=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/EC5QJBG-WRO0PMWo4yrK32oAvmY1f6eCOZy73K5crsVhrC9oX0j1vKZC4dc0WDVzuUyrQl8yu7cPcfwN-mbVmD2M2arNuVXlRcg5JoH4Qz7aANMGnNhsmkIhq47gAjI8YUti3pSss7o=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/mZq3odqlQt3ew2IX8Cw6T7072CBSW5VTc2Pg5x04_HPKaSssb7CI5iPiTjCMcimezmas3vAer8ctOK6jOl89L15-3XVO5jQQrzsQOTI1_U1CNkyx9OD65_cpdQ6ZybDuVz79Xd0lq7g=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/KJ49bW8c1ClaB_Z6DRSOSXbnhCau80ZhWZtfFj6CReLgEowAV5F8XVx0BTd-2Kj6JQBc3Rx2-0_52v7PrQI_m3VoT-_Y1erokKDBwh5-f3xWWzltCfoQNDxboR1Bl4d-7A2qkG7fv3c=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/FTaP-jp5gJQko7oAhNVDoeEv0olE8P1rEyIsbsqXnzUO0Kc_P05wzjCmelO6NNOTP0Lnia4972gv3mvJ9mouhjZwoRuEi_yXCfm1wTXFAapvEPcfFA0vif0GR8Chx-iDUO5b0o7e43o=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/JZ6DtrTPXfpwbaqtIdd7J86UcjVQgA1eWTaConqK8bs1TW3RR3mWWJQiwwQBexB6NdrfhTkWIYhPt-dmYvRPnwh7ChWG5jPpNAVzR8_XMcrkSdPE3Q3yGIfy5TJ41n_A7pTs2c9kgZM=w1920-h1080"></object>
      <object data="https://lh3.googleusercontent.com/HJlGYzJRAaOq21RYTiX3D5By7PtFqEXFA2URKnMVpLN6ohn0ueXNZ_fERm2UkDBmT7d3ITzP-oZh5-BwvOk8CODkq7Hvb-HMJS9tvlYoBftuxUzkRakBDmktUTgTIQTy-xyNHd3Tqfw=w1920-h1080"></object>
    </div>

    The post becomes this

    <div class="pa-gallery-player-widget" style="width:100%;height:480px;display:none" data-link="https://photos.app.goo.gl/p3rstofaE6N1xDBg8" data-title="Perth 2017" data-description="19 new items added to shared album">
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
      <object></object>
    </div>

    Can I stop this from happening?

    thank you again for your help!

    Adam

    Plugin Author Jeff Starr

    (@specialk)

    Glad the original topic issue is resolved.

    For the removal of object/JavaScript in post content, that’s actually a security feature thanks to WordPress core. I don’t think there is a safe way to disable it, but I will take a closer look and see what’s possible in a future plugin update.

    Thank you for reporting, feel free to post again with any further questions, feedback, etc.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Rich Text Editor’ is closed to new replies.