top of page

Forum Posts

MVVeiga
Sep 15, 2022
In Coding with Velo
I code many svg and wix cuts my code. There is no one doc about svg tags allowed/denied. My svg uses <foreignobject> tag. That tag was removed by wix. Why?
0
0
23
MVVeiga
Feb 16, 2021
In Coding with Velo
I use the Timestamp on mouseIn/Out event. On preview mode works fine. On live I got the message on Dev Tools Uncaught (in promise) TypeError: Cannot read property 'timeStamp' of undefined at l3v00.js:1 at componentSdks.98017970.bundle.min.js:1 at clientWorker.362f5586.bundle.min.js:1 at clientWorker.362f5586.bundle.min.js:1 at Object.next (clientWorker.362f5586.bundle.min.js:1) at clientWorker.362f5586.bundle.min.js:1 at new Promise (<anonymous>) at s (clientWorker.362f5586.bundle.min.js:1) at Function.<anonymous> (clientWorker.362f5586.bundle.min.js:1) at MessagePort.n (clientWorker.362f5586.bundle.min.js:1)
0
11
66
MVVeiga
Jan 19, 2021
In Coding with Velo
I use the wixWindow.openLightbox to open a LB and get the return data. wixWindow.openLightbox('WelcomeFS') .then(data => {console.log('return from LB', data)}) This code works fine on preview mode but on Live mode the then() function is not get fired on closing the LB.
0
1
17
MVVeiga
Dec 05, 2020
In Coding with Velo
The pro Gallery has 3 item types Image/Video/Html. The code below shows a black area with error "TypeError: Cannot read property 'fillColor' of undefined" {"type": "text", "alt": "", "title": "Html Item", "width": 190, "height": 60, "html": "<div style='width: 300px; height: 200px; background:pink;'>I am a text block</div>", } Please give me an example how to use the html item.
0
0
10
MVVeiga
Nov 25, 2020
In Coding with Velo
Selecting multi references on collection, the listdrop shows the options sorted by _id from referenced collection. Setting the sorting on the refenced collection just works on Content Manager.
0
0
30
MVVeiga
Nov 19, 2020
In Coding with Velo
Using import {ProGallery} from 'pro-gallery'; I got the error on Chrome dev tools index.html:24 GET https://193ba200-6924-47cd-80da-05374f9d491f.dev.wix-code.com/custom-elements/pg.js?cacheKiller=97&gridAppId=4b9f6922-2e44-4549-adc2-e3fcd1a6b360&instance=wixcode-dev.21a7ab6a85f7537eb6e1e1b5054aec5b048d1497.eyJpbnN0YW5jZUlkIjoiMTkzYmEyMDAtNjkyNC00N2NkLTgwZGEtMDUzNzRmOWQ0OTFmIiwiY29ycmVsYXRpb25JZCI6IjA2MjBmZWIzLTNlODktNDVkYi05MGNkLWQyODFlNTkxN2FmMCIsInNlc3Npb25VSWQiOiIwNDhkNTNmMS0yZTU1LTRkOWEtYjk4Mi1jZDRiMDg3MmU2ZTIiLCJpc1RlbXBsYXRlIjpmYWxzZSwic2lnbkRhdGUiOjE2MDU3NTYxNTQwNTgsInNpdGVNZW1iZXJJZCI6IjA0OGQ1M2YxLTJlNTUtNGQ5YS1iOTgyLWNkNGIwODcyZTZlMiIsInVpZCI6IjA0OGQ1M2YxLTJlNTUtNGQ5YS1iOTgyLWNkNGIwODcyZTZlMiIsImFwcERlZklkIjoiQ2xvdWRTaXRlRXh0ZW5zaW9uIiwiaXNBZG1pbiI6dHJ1ZSwibWV0YVNpdGVJZCI6ImQwZmNiYjZhLTJlMDMtNGYxNS1iMjQ4LTA0YmQ0ZmY4NTY4NyIsImNhY2hlIjpudWxsLCJleHBpcmF0aW9uRGF0ZSI6IjIwMjAtMTEtMTlUMDc6MjI6MzQuMDU4WiIsInNpdGVPd25lcklkIjoiMDQ4ZDUzZjEtMmU1NS00ZDlhLWI5ODItY2Q0YjA4NzJlNmUyIiwiaW5zdGFuY2VUeXBlIjoiZGV2In0=&viewMode=preview net::ERR_ABORTED 500
0
0
22
MVVeiga
Jun 20, 2020
In Coding with Velo
Pro Gallery allows 3 kind of items (image, video and text) using the "type": "image", "type":"video" or "type": "text" on item object. There are examples inserting Image and Video item but there is no example for Text. $w('#gallery1').items = [{ "type": "video", "alt": "", "description": "Desc", "title": "Title", "height": 720, "width": 1080, "src": <image url>, "link": <url>, "thumbnail": <image url> }] I tried { "type": "text", "alt": "", "description": "Desc", "title": "Title", "height": 720, "width": 1080, "src": "Some text here", "link": <url>, } But nothing.
0
1
92
MVVeiga
Jun 05, 2020
In Coding with Velo
I have a input (not input text box) where user types text to search on a collection. The result is filled a repeater as a droplist (dropdown) effect to user chooses. The issue is when the browser overlapping that repeater with the autocomplete listdrop. The thml input has the attribute autocomplete="off" for <input>. Wix has a lack between the HTML specifications and editor/api(corvid). The workaround is using the input Text Box (browser does not create autocomplete for text boxes) but now the problem is keypressing "Enter". The HTML specification has option to use "return false" on the keypress event avoiding the keypressed key. Again, I tried "return false" on $w('textbox1).keypress((event) => {}) and did not work. Those option are not dangerous to break the DOM and are not a way to get direct DOM access. How can I set the autocomplete=off for input field or block the "enter" on text box?
0
10
1k
MVVeiga
Mar 27, 2020
In Coding with Velo
The wix-animations allows to move element acrossing the page. I need to move a element to bottom of screen. Using wixWindow.getBoundingRect() I got the windowSizeInfo object but that object has Window size (browser area including address bar, favs bar, menu. I need the client area.
0
1
59
MVVeiga
Mar 13, 2020
In Coding with Velo
The site running fine but today the VideoPlayer stops to play on code #w("siteVideoPlayer").play(). The Chrome console Uncaught (in promise) TypeError: Cannot read property 'play' of null at VideoPlayer.js:215 www-widgetapi.js:146 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://editor.wix.com'). Please, how can I figure out the problem origin? I guess it is a update
VideoPlayer null (msg on Chrome console) content media
0
3
93
MVVeiga
Feb 13, 2020
In Coding with Velo
I'm trying to use a svg file with a embedded image (jpge/png) and Corvid/JS to manipulate the text inside. When I upload the SVG file, the image gets rid off. How can I use embedded image on SVG file? Tnx a lot.
0
1
196
MVVeiga
Feb 06, 2020
In Coding with Velo
The "Slide" object (image) animation on Wix Editor has properties options like "Power : [Soft | Medium | Hard" and "Direction : [From top | From right | From bottom | From left]" but the Corvid slideEffectOption object has no Power property and different direction. let slideOptions = { "duration": 2000, "delay": 1000, "direction": "right" }; $w("#myElement").show("slide", slideOptions); Please, how to use "Power" option on "Silde" effect using Corvid.
0
3
406

MVVeiga

More actions
bottom of page