Skip to content

Commit

Permalink
Merge pull request #235 from davseve/ED-11967-to-main
Browse files Browse the repository at this point in the history
Review comments 1
  • Loading branch information
davseve authored Sep 5, 2023
2 parents 606a7e7 + 9f9d4f0 commit 4655c7f
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 19 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/bump-channel-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,18 @@ runs:
fi
if [[ ${{ inputs.CHANNEL }} == "beta" ]]; then
BETA_VERSION=${{ inputs.CLEAN_PACKAGE_VERSION }}-${{ inputs.CHANNEL }}${NEW_CHANNEL_VERSION}
echo "BETA_VERSION=$BETA_VERSION" >> $GITHUB_ENV
if grep -q "Beta tag:" ./readme.txt
then
echo "Replace existing beta tag in readme file"
sed -i -E "s/Beta tag: .*/Beta tag: $BETA_VERSION/g" ./readme.txt
else
echo "Add beta tag to readme file"
sed -i -E '/^Stable tag: .*/a\'$'\n'"Beta tag: $BETA_VERSION$(printf '\n\r')" ./readme.txt
fi
BETA_VERSION=${ELEMENTOR_CHANNEL_PACKAGE_VERSION}
else
BETA_VERSION=$(git ls-remote --tags | awk '{print $2}' | sed 's/^refs\/tags\/v//' | sed 's/^refs\/tags\///' | grep -E '^[0-9]+\.[0-9]+\.[0-9]-beta[1-9]$' | sort -V | tail -n 1)
fi
echo "BETA_VERSION=$BETA_VERSION"
if grep -q "Beta tag:" ./readme.txt
then
echo "Replace existing beta tag in readme file"
sed -i -E "s/Beta tag: .*/Beta tag: $BETA_VERSION/g" ./readme.txt
else
echo "Add beta tag to readme file"
sed -i -E '/^Stable tag: .*/a\'$'\n'"Beta tag: $BETA_VERSION$(printf '\n\r')" ./readme.txt
fi
14 changes: 8 additions & 6 deletions .github/workflows/latest-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ concurrency:
cancel-in-progress: true

jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
steps:
- run: |
echo ${{ github.event.pull_request.merged }} was succesfully merged
# if_merged:
# if: github.event.pull_request.merged == true && github.base_ref == 'master' && !contains(github.event.pull_request.labels.*.name, 'skip release')
# runs-on: ubuntu-22.04
# steps:
# - run: |
# echo ${{ github.event.pull_request.merged }} was succesfully merged
# echo $
latest_release:
if: github.event.pull_request.merged == true && github.base_ref == 'master' && !contains(github.event.pull_request.labels.*.name, 'skip release')
runs-on: ubuntu-22.04
steps:
- name: checkout branch
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/one-click-hosting-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
${{ env.CHANGELOG_FILE }}
prerelease: ${{ github.event.inputs.pre_release }}
body_path: ${{ env.CHANGELOG_FILE }}
- name: Post To Slack Created Cloud one click Release
- name: Post To Slack Created one click Hosting Release
if: ${{ github.event.inputs.pre_release }} == false
uses: ./.github/workflows/post-to-slack
with:
Expand All @@ -96,7 +96,7 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Hi All :smile:\n\nWe just Published Could release of *Elementor*\n`${{ env.PACKAGE_VERSION }}`"
"text": "Hi All :smile:\n\nWe just Published a Hosting release of *Elementor*\n`${{ env.PACKAGE_VERSION }}`"
}
},
{
Expand Down
19 changes: 19 additions & 0 deletions core/editor/loader/v2/scss/editor-v2-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,22 @@ body.elementor-navigator-docked #elementor-navigator {
border-bottom: var( --e-a-border );
height: 48px;
}

// Make the MCE full-screen work properly with the top bar.
.elementor-control-type-wysiwyg .mce-fullscreen {
inset: var(--editor-v2-top-bar-height) 0 0 0;

& > .mce-container-body {
display: flex;
flex-direction: column;
height: 100%;

& > .mce-edit-area {
flex-grow: 1;

& > iframe {
height: 100% !important;
}
}
}
}

0 comments on commit 4655c7f

Please sign in to comment.